Home / Programming MCQs / JAVA MCQs / Question
R
Q. What is the output of the below Java program with SWITCH and Strings?
String phone = "APPLE"; switch(phone) { case "Apple": System.out.println("Apple");break; case "APPLE": System.out.println("APPLE");break; case "SAMSUNG": System.out.println("SAMSUNG"); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of the following are true?
What is the output of the following code?
Multithreading in java is ___.
The command-line arguments in Java are used along with a ____ command.
A class can be converted to a thread by implementing the interface ____________.
What will be the output for the below code ?
_________ is used to initialize objects.
Attribute used to handle web flow requests.
How many trAnsweraction isolation levels are defined in java)sql.Connectioninterface?
Discusssion
Login to discuss.