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
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 19216

Check Overriding vs Hiding.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: static methods cannot be overridden.
 
Similar Threads
Overloading static and private methods
Overridding private methods
Polymorphism example - where would we ever use this construct?
Overriding and redefining
How to use Assertions in Java