aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Static method overriding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Static method overriding" Watch "Static method overriding" New topic
Author

Static method overriding

karimkhan pathan
Ranch Hand

Joined: Jul 14, 2008
Posts: 86
what is the main difference of Redefining a static method and overriding a static mehod in the subclass.
we cant override the static method in the subclass..


karim
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

Hi Karim Khan! Welcome to javaranch

Well this is a common question so you should read this part of the FAQ...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
karimkhan pathan
Ranch Hand

Joined: Jul 14, 2008
Posts: 86
Thanks Ankit !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Static method overriding
 
Similar Threads
static overriding
Devaka ExamLab Diagnostic Question 3
hide vs override
Can static methods be inherited?
why does it throws compilation error in the subclass?