0
What is the key difference in overriding and method hiding?
I am in big confusion with these two concepts.
3 odpowiedzi
+ 2
always remember..
final method. cannot be overriding
static method.. seen to be overriding while (calling with object)
but it actually function hiding.
data member can not overriding..
its only hide..
becoz..
all data member of "super class"
take space in "sub class "object
i provide best of my knowledge
.
i hope you like it