logo

Crowdly

Яким буде результат виконання коду? public class Test{ private static final...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Яким буде результат виконання коду?

public class Test{

private static final int ON = 1;

private static final int OFF = 0;

public static void main(String[] args){

int state = 1;

switch(state){

case ON:

System.out.println("On");

break;

default:

System.out.println("Unknown");

case OFF:

System.out.println("Off");

}

}

}

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!