Vidyalelo
C# Programming · Q123

Miscellaneous in C Sharp

Programming · C# Programming · question 123

Q123

Which of the following statements are incorrect?

A.
public members of class can be accessed by any code in the program
B.
private members of class can only be accessed by other members of the class
C.
private members of class can be inherited by a subclass, and become protected members in subclass
Answer
D.
protected members of a class can be inherited by a subclass, and become private members of the subclass

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board