This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes static methods cannot be overridden. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "static methods cannot be overridden." Watch "static methods cannot be overridden." New topic
Author

static methods cannot be overridden.

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
Is it that static methods cannot be overridden?

if so please let me know where am i doing wrong with reference to below code:




Output:
---------- Run ----------
25
Normal Termination
Output completed (0 sec consumed).


Thanks,
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20078
    
  30

Check Overriding vs Hiding.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
Have you checked out Aspose?
 
subject: static methods cannot be overridden.
 
It's not a secret anymore!