Predict the output

public class Sookshmas{
public static void main(String args[]){
int i, j=0;
i = (j0)?5:2;
switch(i){
case 0: System.out.println(0); break;
case 1: System.out.println(1);
case 2: System.out.println(2); break;
case 3: System.out.println(3); break;
}
}


Posted on by