Why this output? (Java) | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why this output? (Java)

Why the output is 3 and not 2 https://code.sololearn.com/c6dCEppwDAHV/?ref=app

9th Jul 2020, 12:41 PM
ztonaz
ztonaz - avatar
1 Respuesta
+ 2
And also you will get last type and color if you print that.
9th Jul 2020, 1:35 PM
The future is now thanks to science
The future is now thanks to science - avatar