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
Why does the option tag render selected=selected instead of just selected?
What is the purpose of the wait(), notify(), and notifyall() methods?
What restrictions are placed on the location of a package statement within a source code file?
What are callback interfaces?
Are enterprise beans allowed to use thread.sleep()?
what are the advantages of JTA over JTS?
If your ui seems to freeze periodically, what might be a likely reason?
Can I map more than one table in a cmp?
whats is mean by tiles in struts
What are the purpose of introspection?
Which textcomponent method is used to set a textcomponent to the read-only state?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
What is jboss?
How a component can be placed on Windows?
Why do I get a duplicate name error when loading a jar file?