What will be the output after the execution of the following Java program?
class MainClass {
public
static void main(String[] args)
{
int x = 10;
int y = 20;
switch (x) {
case 10:
System.out.println("Orange");
break;
case y:
System.out.println("Apple");
break;
}
Answers
Answered by
0
Answer:
sorry I didn't know about it
Similar questions