Parent(object created for parent class) Child(object created for child class) Child(object created for child class)
Parent Child Child
What if the print is not present in parent then what it will print in third method call
Parent Child Child (because object create in runtime)
Parent child child
Parent Child Child (it is upcasting concept)
Parent Child Parent
Only runs parents and child pc is invalid so is method will be error Please tell me my ans is correct
parent child child
Parent Parent and child Parent and child
Parent Child Parent
Parent Child Child
Parent Child Child
Parent Child Parent
Parent Child Child
Parent Child Child
Parent Child Child
Parent Child Child
Parent Child Child
@bharathraj9340