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 the purpose of the notify() method?
What is Stream Tokenizer?
What are the sequence of steps to write pub or sub model kind of application?
What are local interfaces? Describe.
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What is the purpose of the wait(), notify(), and notifyall() methods?
What does module-relative mean?
What is jboss?
What is the difference between the session.update() method and the session.lock() method?
whats is mean by connectionpooling
What is prototype?
Why do threads block on i/o?
Brief description about local interfaces?
What are the services in RMI ?
what is a non-repeatable read?