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. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
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 ? | ||||