logo

Crowdly

Browser

Add to Chrome

Що буде виведено у результаті виконання програми? public class BoolTest { ...

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

Що буде виведено у результаті виконання програми?

public class BoolTest

{

    public static void main(String [] args)

    {

        Boolean b1 = new Boolean("false");

        boolean b2;

        b2 = b1.booleanValue();

        if (!b2)

        {

            b2 = true;

            System.out.print("x ");

        }

        if (b1 & b2) /* Line 13 */

        {

            System.out.print("y ");

        }

        System.out.println("z");

    }

}

100%
0%
0%
0%
0%
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!

Browser

Add to Chrome