aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Diiference b/w Overridng and redefining of static methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply locked New topic
Author

Diiference b/w Overridng and redefining of static methods

sriannapoorna Balasubramanian
Greenhorn

Joined: Aug 24, 2006
Posts: 9
hi,

can anyone explain me the difference betwwen overiding and redefining of static methods.
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643

Overiding of static methods is not possible.But you can redefining static method of base class in child class as shown by code above.
Shaan Shar
Ranch Hand

Joined: Dec 27, 2005
Posts: 1249

Originally posted by sriannapoorna Balasubramanian:
hi,

can anyone explain me the difference betwwen overiding and redefining of static methods.


Although this seems to be a homework question... But Anyways you must look at this JAVA Ranch FAQ's OverridingVsHiding.

This would be helpful for you.


The Best way to predict your future is to create it - Every great individual common man
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Diiference b/w Overridng and redefining of static methods