Can you override static method in java?
Answer / sagar kathane
yes we can override static methods in java. and it is called method hiding because it hides parent method and reflex whatever changes have been done in child class.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to display arraylist values in java?
What are static methods?
What will happen if static modifier is removed from the signature of the main method?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
Can we make constructors static?
What is an abstract class and what is it’s purpose?
What environment variables are required to be set on a machine in order to run Java programs?
why we r not use pointers in corejava?
What is update method called?
Why null interfaces are used in Java?
Explain about fail fast iterators in java?
Difference between character constant and string constant in java ?