wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark ""static" and "private" overridden" Watch ""static" and "private" overridden" New topic
Author

"static" and "private" overridden

RAGU KANNAN
Ranch Hand

Joined: Dec 16, 2005
Posts: 103
Hello Guru's,

I have little bit confuse about "static" and "private" overridden.
Pls help me to understand this concept by providing document or explanation.

Thanks, Raghu.K
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
There is no such thing as "static" overriding or "private" overriding.
So just remember that you cannot override a static method nor a private method.
[ August 22, 2006: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Can a private method be overridden?
Can static methods be overridden?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "static" and "private" overridden
 
Similar Threads
A question about runtime polymorphism.
Static Methods
Static methods are inherited but not overriden
Static and Inheritance
Can static method be overridden?