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

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%
 
 
subject: static methods