This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
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.
 
Ivan Rebrov
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Check this code to see the difference:



the output is:

I'm static method of Parent
I'm instance method of Child
 
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.


Pathatic,

It's really not good practice that you are raising the same concept in three threads.

1. Regarding Static Methods

2. Difference B/w Overriding and redifining of Static methods..

And

3. Is this present thread.....
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue in this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic