Can we change return type of Overridden method ?

Search Interview Questions

 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text


Interview Questions and Answers

 Q1. Can we change return type of Overridden method ?Core Java
Ans. Yes, we can change return type of overridden method in child class but child's return type should be sub-type of parent's return type.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies

Related Questions

 How does java identifies which method to be called in method overriding or runtime polymorphism, when both methods share the same name and signature ?
  What restrictions are placed on method overriding?
 Is Runtime Polymorphism possible without Inheritance ?
 What is virtual table with respect to method overriding in Java ?
 How is the virtual method table implemented in Java?
 How many VTables are there for each class ?

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: