Q. What is the output of the below Java program?
Code:
int hours = 10; switch(hours) { case 10: System.out.println("TEN");break; case 10: System.out.println("TEN AGAIN"); break; default: System.out.println("TEN AS USUAL"); }
Discusssion
Login to discuss.