Answer Posted / narayanarao bp
Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without creating an instance of a class.Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object. A static method in a superclass can be shadowed by another static method in a subclass, as long as the original method was not declared final. However, you can't override a static method with a nonstatic method. In other words, you can't change a static method into an instance method in a subclass.
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is jit and its use?
Explain about join() method?
What is return keyword in java?
How hashmap increases its size in java?
Is java an ide?
What is java object name?
Explain about fail safe iterators in java?
Is null an object java?
What is the purpose of the system class in java?
What is queue in java?
Write a program to search a number in the given list of numbers.
What does a boolean method return?
What is update method called?
What is oop principle in java?
How can you make a class serializable in java?