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 are the limitations of procedural programming approach?
How to reverse a string in java?
What are the different types of data structures in java?
What is the basic of java?
How do you identify independent and dependent variables?
What is an immutable class? How to create an immutable class?
What is the difference between I ++ and ++ I in java?
Do I need java on my computer?
What is mnemonic in assembly language?
Difference between abstract and concrete class ?
What are the advantages of compiled language?
What is the difference between static class and normal class?
What is rule of accessibility in java?
What is one third plus one third as a fraction?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?