posted 15 years ago
If I able to reply....
Check the code below......
The method, which has the lower place in the hierarchy will be invoked..... In this example, Class C is the lowest class in the hierarchy. So the method with that type of parameter will be invoked. Same for your coding, as String is a sub class of Object.......
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|