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 must a class do to implement an interface?
What are the steps to write p-to-p model application?
Name three subclasses of the component class?
What are callback interfaces?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is the relationship between local interfaces and container-managed relationships?
To identify IDL language what mapping mechanism is used?
how i secure my site with the https protocol.what are the steps?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
Describe responsibilities of Activator?
what is the use of State Factories?
whats is mean by tiles in struts
the same information whether it will connect to the database or it will be used previous information?
Can I run seam with jdk 1.4 and earlier?
What is ioc concept & explain it?