Why this output? (Java) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
+ 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