File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Diiference b/w Overridng and redefining of static methods

 
sriannapoorna Balasubramanian
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi,

can anyone explain me the difference betwwen overiding and redefining of static methods.
 
Gowher Naik
Ranch Hand
Posts: 643
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator

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
Posts: 1249
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic