TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.18] continue in switch case

1    public class Test2 {
2    public static void main(String[] args) {
3    int i = 3;
4    System.out.println("start");
5    switch (i) {
6    case 3:
7    continue;
8    case 4:    }
9    System.out.println("end");
    }}

    

Options]

(A)  start
(B)  end   
(C)  start end  
(D)  Compilation error at line no-7.            

Click to See Answer
(D)  Compilation error at line no-7.        

Next |

Previous | using break in main function

Hemen Ashodia [paper setter]
Register & recharge
Male Female
I agree Terms and Conditions