Hi i create the objects for child class and try to call the child class variables but it called the super class variable both super class and sub class have same class variable name
.
In this output name is "Child" is expecting for "o2.name;" but output is "Base".Please explain me clearly...