Answer Posted / sushant
@ guys above.... if you don't know the exact vcorrect
answers don't put your guesses here so as to confuse people
further.
static method can NEVER be overridden.
Static method in a way are hidden and are called on the
Class itself not on the instance.You can do it but it
implicitly calls the static methods on the class.
Overriding doesn't just mean having the same method name in
the subclass as it is in the superclass. You can still have
the same method name in the subclass but it is not
overriding the superclass method and it is not polymorphism
as well. For more info please google on this.
static method can NEVER be overridden.
-Sushant
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of the notifyall() method?
What is a clone?
Can constructors be synchronized in java?
When a thread blocks on i/o?
what are the advantages of JTA over JTS?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is the purpose of the wait(), notify(), and notifyall() methods?
How would you create a button with rounded edges?
What if the static modifier is removed from the signature of the main method?
Explain the difference between object state and behavior?
What are the different approaches to represent an inheritance hierarchy?
what is a portable component?
what is meant by JRMP?
What restrictions are placed on the values of each case of a switch statement?
Where can I find seam examples and documentation?