Aperiquiz #4 : Integer equals Integer

Soit le code suivant :


Quel est la valeur de c ?
  • true
  • false
  • Erreur de compilation
  • Une exception est levée lors de l'exécution
Réponse : (cliquez pour afficher)

Permalink  |  Commentaires (2)


Comments:

Plus amusant encore:
Integer i = 42, j = 42;
Integer k = 1337, l = 1377;
System.out.println(i==j + " "+ k ==l);

:)

Posted by Makkhdyn on juillet 21, 2009 at 10:26 PM CEST #

T'es un grand malade toi ;-)

Posted by Stéphane V. on juillet 21, 2009 at 10:55 PM CEST #

Post a Comment:
  • HTML Syntax: Allowed