File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 19541
    
  16

Check Overriding vs Hiding.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: static methods cannot be overridden.
 
Similar Threads
How to use Assertions in Java
Overridding private methods
Overriding and redefining
Overloading static and private methods
Polymorphism example - where would we ever use this construct?