A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Sep 15, 2006
Feb 18, 2007 12:24:00
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
Joined: Jul 06, 2006
Feb 18, 2007 13:11:00
It would be really good for you to
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%
I agree. Here's the link:
subject: Method Overriding
Method in parent class....
Doubt with instance variables and methods of the subclass and superclass
K&B p102 not clear
K & B practice exam question
PostConstruct and PreDestroy methods can be have any access modifier
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013