Can we override static methods?

Answer Posted / yogesh gandhi

Thanks for addition.
You are correct.

Static method cannot be overridden.
Overloading of static methods is possible.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In case of inheritance what is the execution order of constructor and destructor?

885


What is Applet Stub Interface ?

2182


What are the different collection views provided by maps?

778


What environment variables do I need to set on my machine in order to be able to run java programs?

803


Can a singleton class be inherited?

722


State two differences between C and Java.

971


How many bytes is a string java?

769


What is the current version of java?

779


What is double checked locking in singleton?

830


What is a class object?

706


What is class array in java?

723


How a string is stored in memory?

793


How do you declare an array in java?

765


Are static members inherited to sub classes?

898


How many ways can you break a singleton class in java?

728