A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Programmer Certification (SCJP/OCPJP)
"static" and "private" overridden
Joined: Dec 16, 2005
Aug 22, 2006 09:11:00
I have little bit confuse about "static" and "private" overridden.
Pls help me to understand this concept by providing document or explanation.
Joined: Aug 03, 2002
Aug 22, 2006 09:36:00
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
Getting someone to think and try something out is much more useful than just telling them the answer.
Joined: Feb 02, 2006
Aug 22, 2006 11:13:00
Can a private method be overridden?
Can static methods be overridden?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: "static" and "private" overridden
Static methods are inherited but not overriden
Static and Inheritance
A question about runtime polymorphism.
Can static method be overridden?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015