This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes static methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "static methods" Watch "static methods" New topic
Author

static methods

Gunj Agarwal
Greenhorn

Joined: Jan 29, 2006
Posts: 16
why static methods cannot be overridden.A static method can be called in subclass using the class name..so why not it cant be overridden
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

See if this helps: Overriding vs. Hiding.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Shiao Kung Chux
Greenhorn

Joined: Jan 26, 2006
Posts: 25
after read that i confuse more.
><


while everyone is busy , i am free
Gunj Agarwal
Greenhorn

Joined: Jan 29, 2006
Posts: 16
thanku marc...I got the point
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Shiao Kung Chux:
after read that i confuse more...

Which parts seem confusing? If you tell us where it doesn't make sense, I'm sure someone can clear things up.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: static methods