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


Please Help Members By Posting Answers For Below Questions

In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2282


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2384


What is the difference between RMI registry and OS Agent?

735


What is permgen or permanent generation?

667


What is the immediate superclass of the applet class?

709






Explain ioc concept?

729


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

656


What is bean? Where can it be used?

658


How to deploy Jar, War files in J2EE?

2255


What are the difference between RMI and CORBA?

703


What is the relationship between the canvas class and the graphics class?

636


Why use a datasource when you can directly specify a connection details?

616


What do you need to set-up a cluster with jboss?

683


Is jvm a overhead?

704


what are RemoteObjects?

2334