This commit is contained in:
2021-11-22 11:16:23 +01:00
parent 78548e5c04
commit 2dc4e3bd8f
18 changed files with 686 additions and 331802 deletions

View File

@ -0,0 +1,17 @@
package POO.T5_autoboxing_des_types_primitifs;
public class Main {
public static void main(String[] args) {
Integer foo = new Integer(15);
System.out.println(foo.toHexString(foo.intValue()));
String s = "12";
System.out.println(Integer.parseInt(s)+5);
int bar = 17;
Integer barInteger = bar;
System.out.println(barInteger+2);
Double foobarDouble = 3.0;
double foobar = foobarDouble;
System.out.println(foobar);
}
}