Which Of The Following Statements Are Incorrect #225
Which of the following statements are incorrect?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Classes Methods - Java Access Control - Quiz No.1.
Which of the following statements are incorrect?
public members of class can be accessed by any code in the program
private members of class can only be accessed by other members of the class
private members of class can be inherited by a subclass, and become protected members in subclass
protected members of a class can be inherited by a subclass, and become private members of the subclass