Vidyalelo
Python · Q16

Concept of Object Oriented Programs in Python

Programming · Python · question 16

Q16

Which of the following statements isn't true?

A.
A non-private method in a superclass can be overridden
B.
A derived class is a subset of superclass
C.
The value of a private variable in the superclass can be changed in the subclass
Answer
D.
When invoking the constructor from a subclass, the constructor of superclass is automatically invoked

Answer: Option C

Solution

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