File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "static methods" Watch "static methods" New topic
Author

static methods

Raju Champaklal
Ranch Hand

Joined: Dec 10, 2009
Posts: 521
we know that static methods cant be overridden? then why can they be made final?


scjp 1.6 91%, preparing for scmad
"Time to get MAD now.. we will get even later"....by someone unknown
Rajiv Chopra
Ranch Hand

Joined: Dec 19, 2008
Posts: 62
Raju Champaklal wrote:we know that static methods cant be overridden? then why can they be made final?


Static methods cannot be overridden but rewriting is possible thats why we don't made them final.


Rajeev Kumar
SCJP 6.0 Certified 96%
Neha Daga
Ranch Hand

Joined: Oct 30, 2009
Posts: 504
you can redefine them.


SCJP 1.6 96%
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: static methods
 
Similar Threads
Static methods can be overridden by static methods only?
What is the logic behind calls like JOptionPane.method()
static and non-static synchronized methods
method overriding
Inheritance of all members