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
Explain the steps in details to load the server object dynamically?
Name the class that is used to bind the server object with RMI Registry?
Explain about thread synchronization inside a monitor?
Why a client should be multithreading? Explain.
What is Stream Tokenizer?
what are memory considerations of jsp compares to other web components?
Have you used threads in Servelet?
Should synchronization primitives be used on bean methods?
What is the difference between the font and fontmetrics classes?
Difference between loadclass and class.forname?
What is difference between object state and behavior?
What is the immediate superclass of the applet class?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What value does read() return when it has reached the end of a file?
What are the types of scaling?