A
Q. What is the output of the Java program?
Code:
int a=10;
if(a==9)
System.out.println("OK ");
System.out.println("MASTER");
else
System.out.println("BYE");
if(a==9)
System.out.println("OK ");
System.out.println("MASTER");
else
System.out.println("BYE");
- Correct Answer - Option(C)
- Views: 16
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.