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.

Що потрібно підставити замість знаків підкреслення, щоб програма вивела на екран "12" :

public class SomeClass {

public void perform () {

System.out.print ( "1");

}

public static void main (String [] args) {

SomeClass c = new SomeClass2 ();

c.perform ();

}

}

class SomeClass2 extends SomeClass {

public void perform () {

____

System.out.print ( "2");

}

}

(Java)

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