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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is these static methods really overridden ?

 
Sathi Krishna
Ranch Hand
Posts: 51
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Compiler doesn't show any error?
Is this is valid ?
Please gimme answer...
 
Anuj Prashar
Ranch Hand
Posts: 99
Android Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Static method can not be over ridden, but you can redefine them in sub-class.
You are just creating new method in sub-class.
 
Ankit Garg
Sheriff
Posts: 9497
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read Overriding Vs Hiding...
 
Sathi Krishna
Ranch Hand
Posts: 51
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks...
Now its pretty Clear !!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic