logo

Crowdly

Browser

Add to Chrome

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

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

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

class A {

...

}

class B extends A {

...

}

class C extends B {

...

}

public class MyClass {

public static void main (String args []) {

A x1 = new A ();

B x2 = new B ();

C x3 = new C ();

x1 = x3;

x2 = x3;

System.out.println (x1.equals (x2) && x1.equals (x3));

}

}

More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

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

Browser

Add to Chrome