Integer type | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Integer type

What is the result of expression below? Integer a = 128; Integer b = 128; boolean result = a == b;

26th Sep 2016, 7:19 PM
Artyom Gusev
Artyom Gusev - avatar
2 Réponses
+ 1
True or 1
26th Sep 2016, 8:35 PM
Has Xan
Has Xan - avatar
0
true . bicause a is equal to b and return true.
26th Sep 2016, 9:48 PM
mamadgig
mamadgig - avatar