can a static method be overridden
Answer Posted / rohit salecha
Overriding is Dynamic Polymorphism , i.e. the method will
be called at run-time and not at compile time. and static
methods are called at compile time(Hence no Compiler Error).
So if you are overriding a static method , you defeat the
purpose of having having a dynamic binding.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is meant by JRMP?
What is the immediate superclass of the applet class?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What modifiers may be used with an inner class that is a member of an outer class?
Which are the different segments of memory?
What are the benefits of detached objects?
What is the highest-level event class of the event-delegation model?
What is the purpose of the notify() method?
Explain RMI Architecture?
What are the different approaches to represent an inheritance hierarchy?
Why doesn’t the focus feature on the tag work in every circumstance?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is the relation between the infobus and rmi?
Describe activation process?
What is a session? Can you share a session object between different theads?