What changes will make this code compile?

Given a java source file: What changes will make this code compile? (Select Two)

Given a java source file: What changes will make this code compile? (Select Two)

A.
Removing the private modifier from the two () method

B.
Adding the public modifier to the declaration of class x

C.
Adding the protected modifier to the x() constructor

D.
Changing the private modifier on the declaration of the one() method to protected

E.
Removing the Y () constructor



Leave a Reply 0

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