What is method Overriding in the perspective of OOPS?

Answers were Sorted based on User's Feedback



What is method Overriding in the perspective of OOPS?..

Answer / boss

Redefining the superclass method in the subclass. Means
redefining the implementation of superclass method in the
subclass

Is This Answer Correct ?    6 Yes 2 No

What is method Overriding in the perspective of OOPS?..

Answer / ravikiran(aptech mumbai)

method overriding is changing the exsiting functionality in
the subclass from the super class

Is This Answer Correct ?    6 Yes 5 No

What is method Overriding in the perspective of OOPS?..

Answer / ramakrishna yechuri

Itis the process of defining the member function in sub
class with same prototype as in base class.
super key word is used to invoke the base class members.

Is This Answer Correct ?    3 Yes 2 No

What is method Overriding in the perspective of OOPS?..

Answer / nisha singh

we can make the same method ,with same parameter is method
overriding can inherit the base class by using overrides
keyword.in base class we use virtual keyword nd in derive
class use override keyword

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

what is the difference between HashMap And HashTable?

5 Answers   Hexaware,


What is the difference between Object and Instance?

5 Answers   TCS,


What is memory leak and how does java handle it?

0 Answers  


What does super keyword do?

0 Answers  


how many types of Inheritance?

0 Answers   Impetus,






Explain differences between checked and unchecked exceptions in java?

0 Answers  


Can we overload final method in java?

0 Answers  


When should you make a function static?

0 Answers  


Can you have two constructors in java?

0 Answers  


When do you get classcastexception?

0 Answers  


There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?

6 Answers   KPIT,


AWT event listeners extends what interface?

1 Answers  


Categories