Computer Science, asked by aryanarora272006, 8 months ago

Question 3
switch (p)
{
case 1: System.out.println("One ");
case 2: System.qut.println(“Two ");
case 3: System.out.println(“Three ");
break;
case 4: System.out.println("Four ");
default: System.out.println("Invalid Number");
}
What will be the output of the above code if the value of p is:-
a. int p = 3
b. int p = 2
c. int p = 1
dint p = 4
e. int p = 8 Please help​

Answers

Answered by harshithingol27
2

Answer:

thanks for free points sexy byyyyyyyy

Similar questions