A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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%
It is sorta covered in the
JavaRanch Style Guide
subject: Method Overriding
PostConstruct and PreDestroy methods can be have any access modifier
K & B practice exam question
Doubt with instance variables and methods of the subclass and superclass
K&B p102 not clear
Method in parent class....
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014