Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
Method Overriding
chintan ramavat
Ranch Hand
Posts: 134
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Posts: 304
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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%
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Doubt with instance variables and methods of the subclass and superclass
Method in parent class....
K & B practice exam question
K&B p102 not clear
PostConstruct and PreDestroy methods can be have any access modifier
More...