Quiz question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Quiz question

Why are most of the quiz questions basically “what’s the output of this very poorly written code”? It makes people think that it’s ok to write ugly code

24th Oct 2021, 1:00 PM
Kamen Studentov
Kamen Studentov - avatar
2 Answers
+ 1
Is this your doubt? Btw those output questions only make us think more deeply and help in understanding more about Java
24th Oct 2021, 1:06 PM
Atul [Inactive]
0
I don’t think so no. There is nothing “deep” about doing mental arithmetic to see if some long expression == 1 or 2 inside () of an if statement.
24th Oct 2021, 1:36 PM
Kamen Studentov
Kamen Studentov - avatar