Chers développeurs,
Je suis novice en la matière, quelqu’un peut m'expliquer ces résultats s'il vous plait:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 public class Essai { public static void main(String[] args) { char un = '1'; char trois = '3'; System.out.println( un + trois );// resultat = 100 ? char a = 'a'; char b = 'b'; System.out.println('a'+'b');//resultat = 195 ? } }
Partager