logo

Crowdly

Browser

Add to Chrome

Дано код: class Super { static String ID = "QBANK"; } class Sub extends Supe...

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

Дано код:

class Super { static String ID = "QBANK"; }

class Sub extends Super{

  static { System.out.print("In Sub"); }

}

class Test{

  public static void main(String[] args) {

    System.out.println(Sub.ID);

  }

}

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

More questions like this

Want instant access to all verified answers on exam.nuwm.edu.ua?

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

Browser

Add to Chrome