Home / Programming MCQs / JAVA MCQs / Question
R
Q. What is the output of the below Java program?
switch(15) { case 5*2: System.out.println("TEN");break; case 5*4-5:System.out.println("FIFTEEN");break; case 60/4+5: System.out.println("TWENTY"); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What will be the output of the following code –
The name of an ENUM or the name of ENUM constant can be ____ in Java.
Which of the following inheritance of class is invalid in Java?
What type of constructor is used to provide different values to the distinct objects?
The syntax "type variable = (type) variable2" is used for
What are the advantages of Method Overriding in Java?
Which of these events is generated when a button is pressed?
What is the output of Java code snippet below?
Java uses UTF-16 Unicode format to represent characters. What is UTF?
Discusssion
Login to discuss.