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 purpose class.forname method?

0 Answers  


What is parameter example?

0 Answers  


what is unreachable code problem in multiple catch statements

3 Answers  


Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

2 Answers   ADP,


What are adapter classes?

0 Answers  






What is advantage of java?

0 Answers  


How do you clear a method in java?

0 Answers  


If I only change the return type, does the method become overloaded?

0 Answers  


What is ascii format?

0 Answers  


What is the relationship difference the canvas class and the graphics class?

0 Answers  


What is difference between static class and singleton pattern?

0 Answers  


What is included in core java?

0 Answers  


Categories