int val = 01;
switch (val) {
case 1: System.out.println("Students");
break;
case 2: System.ou
t.pr
intln("Teachers");
break;
default: System.out.println("No match found"); }
Which of the following statements is correct?
(i) case 1 will be executed.
(ii) case 2 will be executed.
(iii) default will be executed.
(iv) None of the above
Answers
Answered by
0
Answer:
bro bro bro dhirey dhirey
Similar questions
Social Sciences,
3 hours ago
Social Sciences,
3 hours ago
Hindi,
3 hours ago
Chemistry,
5 hours ago
Science,
5 hours ago
Social Sciences,
8 months ago
Math,
8 months ago
Math,
8 months ago