Prev Question
Next Question

Given: Which change will enable the code to compile?

5a154cf41ae98 - Which change will enable the code to compile?

A.
Adding the public modifier to the declaration of method1 at line n1

B.
Removing the public modifier from the definition of method1 at line n2

C.
Changing the private modifier on the declaration of method 2 public at line n3

D.
Changing the line n4 DoClass doi = new DoClass ( );

Explanation:

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *