✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Nous disposons d’une classe Info définie par les attributs : Identité, Nom, Prénom.
Qu’affiche le code suivant :
class EssaiInfo { public static void main(String arg[]) { Info info1 = new Info(15, "Charon", "Irene"); Info info2 = new Info(15, "Charon", "Irene"); System.out.println("avec ==, info1 et info2 sont égaux : " + (info1 == info2)); }}