can a static method be overridden
Answer Posted / partha
@ Mayank
Static methods are *NEVER* ever be overridden, even if you
try to override a static method of the super class in your
subclass, it will compile because in this you are simply
redeclaring the static method of your superclass in your
subclass. Redeclaring a method is not the same as overriding
a method.
The bottomline is
** STATIC METHODS CAN NEVER BE OVERRIDDEN **
Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is the relationship between local interfaces and container-managed relationships?
Why are component architectures useful?
What value does readline() return when it has reached the end of a file?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What is the purpose of the wait(), notify(), and notifyall() methods?
Explain about RMI Architecture?
What is ioc concept & explain it?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
What are the different algorithms used for clustering?
what is handle?
Why won’t the jvm terminate when I close all the application windows?
Is infobus easy to use?
What event results from the clicking of a button?
What is the difference between system.out ,system.err and system.in?
What is in-memory replication?