aspose file tools*
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: 19760
    
  20

Check Overriding vs Hiding.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
jQuery in Action, 2nd edition
 
subject: static methods cannot be overridden.