Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Considérez :
Integer a = new Integer(1000);Integer b = new Integer(1000);
Integer a = new Integer(1000);
Integer b = new Integer(1000);
Quelles affirmations sont correctes ?
a == b vaut false car == compare ici les références.
a == b
false
==
a.equals(b) vaut false.
a.equals(b)
a == b vaut true.
true
a.equals(b) vaut true car equals() compare les valeurs.
equals()
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!