What is Overriding and how can it be used?
Answer Posted / arvind wagh
Overriding means same name methods in different classes
When the method is invoked for an object
of the class, it is the new definition of the method that is
called, and not the method definition from super class
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is square root in java?
In a container there are 5 components. I want to display all the component names, how will you do that?
How many tetrahedral voids are there in bcc?
Will minecraft java be discontinued?
What is difference between module and function?
When is the arraystoreexception thrown?
What is the purpose of final keyword and when to use it?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
When do you call copy constructor?
Is there a jre for java 11?
What is final class?
When does an object becomes eligible for garbage collection in java?
What is array class in java?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
What is n in java?