logo

Crowdly

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

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

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

public class Test {

    

    public static void main(String[] args){        

        

        String state = "on";

        

        if(state = "on")

            System.out.println("On");

        else

            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!