Bonjour,
je coince sur ce probleme:
Pourquoi lorsque je fais
Code : Sélectionner tout - Visualiser dans une fenêtre à part
        System.out .println( "toHexString toUpperCase: "+ Integer.toHexString(-1333).toUpperCase());
ca me donne toHexString toUpperCase: FFFFFACB

et lorque je fais l'inverse
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
         String h = Integer.toHexString (-1333).toUpperCase();       
        System.out .println( "Integer.parseInt: "+ Integer.valueOf(h,16))
ca me donne
java.lang.NumberFormatException : For input string: "FFFFFACB"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48 )
Merci de votre aide