logo

Crowdly

Browser

Add to Chrome

Nous disposons d’une classe In fo   définie par les attributs : Identité , No...

✅ 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));

      }

}

0%
0%
More questions like this

Want instant access to all verified answers on moodle.myefrei.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome