can a static method be overridden
Answer Posted / lakshmanan n
Static methods can be overriden but why do you want to call
the static methods thro instance of the subclass or super
class.
If it is a static method.
call those methods like the following...
SuperClassName.methodName()
SubClassName.methodName()
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the difference between a static and a non-static inner class?
How are the elements of a cardlayout organized?
What is TL and its use?
Explain phantom read?
Write a singleton program?
Which class is the immediate superclass of the menucomponent class?
What do you know about seam?
Why won’t the jvm terminate when I close all the application windows?
What modifiers may be used with an inner class that is a member of an outer class?
What is aop(assepct oriented programing)?
what is Activation Instantinator?
Which component handles cluster communication in jboss?
Explain the steps in details to load the server object dynamically?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
What is the difference between the ‘font’ and ‘fontmetrics’ class?