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");
  1. A
  2. B
  3. C
  4. None of these

Answer: C) C

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.