If more than one elseif conditions are true.then what will happen.will all the statement print. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If more than one elseif conditions are true.then what will happen.will all the statement print.

25th Jun 2017, 5:39 PM
Dheeraj Thakur
Dheeraj Thakur - avatar
3 Answers
+ 2
No, only the first true statement will evaluate. Check out my code.
25th Jun 2017, 5:46 PM
Frederik Bussler
Frederik Bussler - avatar
25th Jun 2017, 5:53 PM
Frederik Bussler
Frederik Bussler - avatar
0
java will explode 😀 joking @fred hes got it right
25th Jun 2017, 10:33 PM
Uni Verse
Uni Verse - avatar