in above program i have created an object of Prac255 and assigned it to the reference of Prac25(superclass of Prac255).
Que 1: how internally at mark 1 JVM is able to call method on Prac25's object which resides inside the
Prac255's object....??
in this case it is printing "Prac25 78"
Que 2: if we make the callMe() method default or public in Prac25 as well as Prac255 class...then
how callMe() of Prac255 gets called...?? why JVM didn't call callMe() of Prac25 in this case..??