| Author |
Method Overriding
|
chintan ramavat
Ranch Hand
Joined: Sep 15, 2006
Posts: 134
|
|
Hello Ranchers I want to know " what method of version will be called if some class with the reference of SUPER class sneak in ", is it going to be subclass version or superclass. " assuming subclass version has not marked PUBLIC.What if it's marked PRIVATE. Thank you ranchers chintan ramavat
|
 |
Atul Sawant
Ranch Hand
Joined: Jul 06, 2006
Posts: 304
|
|
Dear Chintan, It would be really good for you to test the code for yourself and find the answer or else I dont really see any positive side in just giving answers. kindly let us know if you have any confusion.
|
Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
|
 |
 |
|
|
subject: Method Overriding
|
|
|