Home »
MCQs »
Scala MCQs
The output of the code block of code is | Scala Question 7
60. The output of the code block of code is -
var myNumber = 5 ;
if(myNumber > 20)
print("A");
else if(myNumber > 15)
print("B");
else
print("C");
- A
- B
- C
- None of these
Answer: C) C