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
How to sort array in descending order in java?
What is native code?
What is the use of jtable?
Explain about object oriented programming and its features?
What is arrays aslist in java?
Which is better list or arraylist in java?
Is zero a positive integer?
Does java support multiple inheritance or not?
Why main function is static?
What is a java list?
Explain java coding standards for classes or java coding conventions for classes?
What are different exception types exceptions available in java ?
What is treeset and treemap in java?
What are the different access modifiers available in java?
Explain different states of a thread in java?