Hi,
I would like to know if there any way by which the child class can differentiate between inherited and implemented methods of its parent class.
i.e. when class C extends class B extends class A.
There are three possible cases by which class C inherits method m1() :
a. Method m1() implemented in class A is just inherited by class B and is further passed to the next generation of class C.
b. Method m1() is implemented in class A and funcionality is overridden in class B.
c. Method m1() is not defined in class A but is defined in class B.
Is there any way for class C to differentiate the above cases. Although this might not have any practical usage but I am curious to know. For eg. when we use an
IDE like jcreator etc. and try to access an objects functions it popsup the avlbl functions after pressing '.' but those functions that are specifically implemented by the object are boldfaced so wld like to know more abt this.
Regards JPraveen.