Can we override static methods?
Answer Posted / n.suresh babu
Yes, Static Methods can be overridden but it won't give
overridden behaviour. Overiding execution happens based on
the runtime object.
| Is This Answer Correct ? | 16 Yes | 10 No |
Post New Answer View All Answers
What is java lang object?
Is ++ operator thread-safe in java?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
What is difference between array and vector?
How can you say java is object oriented?
How the metacharacters are different from the ordinary characters?
What is formatted output?
What is a generic type?
Is there a jre for java 11?
Can you pass functions in java?
How many static init can you have?
Which of the classes will have more memory allocated?
Give the difference between the println method and sqrt method?
Is list thread safe in java?
Can a class have 2 constructors?