A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
static methods
Gunj Agarwal
Greenhorn
Joined: Jan 29, 2006
Posts: 16
posted
Mar 01, 2006 22:06:00
0
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
I like...
posted
Mar 01, 2006 22:11:00
0
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
posted
Mar 02, 2006 01:44:00
0
after read that i confuse more.
><
while everyone is busy , i am free
Gunj Agarwal
Greenhorn
Joined: Jan 29, 2006
Posts: 16
posted
Mar 02, 2006 07:06:00
0
thanku marc...I got the point
marc weber
Sheriff
Joined: Aug 31, 2004
Posts: 11343
I like...
posted
Mar 02, 2006 13:50:00
0
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.
I agree. Here's the link:
http://aspose.com/file-tools
subject: static methods
Similar Threads
Overriding static methods
Making abstract classes/methods Static
Overriding static methods
why is an interface's varable static, and a method not allowed to be static?
Java Basics
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter