1
Answer

The child/descendant class object references can not point to the parent/ancestor class objects. Why and how ????

mahesh kumar B M

mahesh kumar B M

12y
1.4k
1
I'm looking for the proper technical  reason behind this  
we know that "Parent class object reference can point to child/descendant class objects "
but 
The child/descendant class object references can not point to the parent/ancestor class objects. Why and how ????


Answers (1)
Next Recommended Forum