This commit is contained in:
Rémi Heredero 2021-11-23 19:14:45 +01:00
parent a3b0db7071
commit b545457eea
3 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@ 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()));
//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;

View File

@ -1,9 +1,9 @@
package various_tests;
import java.io.*;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.charset.spi.CharsetProvider;
import java.util.Scanner;
//import java.nio.charset.spi.CharsetProvider;
//import java.util.Scanner;
//import java.nio.charset.Charset;
/**
* The Class Input is here to enter data with the keyboard.<br>