can a static method be overridden

Answer Posted / srinivas katta

Hi, Aswini ur program is wrong, there is no relation btween
cal methods in ur program, overriding means there must be
same no of arguments,there is a change in no of argumetns
in ur program.
static methods can not be overridden
ex:
main method is static, we can overload it but we can not
override it.

Is This Answer Correct ?    27 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the different types of memory used by jvm?

614


Can you control when passivation occurs?

602


what are getters and setters in Java with examples?

1289


wahts is mean by dynavalidatorform in struts/

1576


What are local interfaces? Describe.

706






Why is actionform a base class rather than an interface?

574


what is handle?

1859


What is a modular application? What does module-relative mean?

550


Which containers use a border layout as their default layout?

618


what are the activation groupworks?

1681


Why does the tag url-encode javascript and mailto links?

588


What is the map interface?

618


What is local interface. How values will be passed?

558


which type of objects reference will be given to client?

2034


What is the infobus?

616