TP06 - TP07 début
This commit is contained in:
BIN
APL2.1/TP06/Documentation/Documentation.class
Normal file
BIN
APL2.1/TP06/Documentation/Documentation.class
Normal file
Binary file not shown.
9
APL2.1/TP06/Documentation/Documentation.java
Normal file
9
APL2.1/TP06/Documentation/Documentation.java
Normal file
@@ -0,0 +1,9 @@
|
||||
public class Documentation {
|
||||
public static void main(String[] args) {
|
||||
for (String str : args) {
|
||||
System.out.println(str.toUpperCase());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
BIN
APL2.1/TP06/Documentation/ToBase8.class
Normal file
BIN
APL2.1/TP06/Documentation/ToBase8.class
Normal file
Binary file not shown.
8
APL2.1/TP06/Documentation/ToBase8.java
Normal file
8
APL2.1/TP06/Documentation/ToBase8.java
Normal file
@@ -0,0 +1,8 @@
|
||||
public class ToBase8 {
|
||||
public static void main(String[] args) {
|
||||
for (String str : args) {
|
||||
int nb = Integer.parseInt(str, 8);
|
||||
System.out.println(Integer.toHexString(nb).toUpperCase());
|
||||
}
|
||||
}
|
||||
}
|
||||
4
APL2.1/TP06/Documentation/reponses.txt
Normal file
4
APL2.1/TP06/Documentation/reponses.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
1. java.lang.Object
|
||||
2. La classe Object
|
||||
3. 10 (8 dont 2 surcharges)
|
||||
4. 0 ?
|
||||
Reference in New Issue
Block a user