What is the output of the given console application? public class Test34 { public static void main(String[] args) { int a = 2; switch(a) { default: System.out.print("_default"); case 0: System.out.print("_ZERO"); case 1: System.out.print("_ONE"); } } }
Correct Answer: _default_ZERO_ONE
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Java MCQ Questions