Due to inheritance, a derived class can access the properties of a base class. But, is it possible that the base class can access the properties of derived class?
Reference: JAVA
Answers
Answered by
1
Hey!
No, it isn't possible that the base class can access the properties of the derived class.
This is because derived class has all the properties which a base class has.
Hope it helps^^
No, it isn't possible that the base class can access the properties of the derived class.
This is because derived class has all the properties which a base class has.
Hope it helps^^
Similar questions