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 the difference between this() and super() in java?
Is vector ordered in java?
What is the difference between a vector & an array list?
What is meant by inheritance and what are its advantages?
What do you mean by light weight and heavy weight components?
How many types of interfaces are there?
Is break statement can be used as labels in java?
When will you define a method as static in Java?
How do you classify Dialog Box?
What is object-oriented programming?
Explain the meaning of java applet.
Can we have multiple public classes in a java source file?
What do you understand by looping in java? Explain the different types of loops.
Explain the polymorphism principle?
Can we compare two strings in java?