When a method in a subclass has the same name and type signatures as a method in thesuperclass, then the method in the subclass _____ the method in the superclass.

C/C - Online Exam Test Papers | C/C - MCQs[multiple choice questions and answers ] | C/C - Mock Test Papers | C/C - Practice Papers | C/C - Sample Test Papers |

Question:
 When a method in a subclass has the same name and type signatures as a method in thesuperclass, then the method in the subclass _____ the method in the superclass.

1.Overloads

2.Friendships

3.Inherits

4.Overrides

Posted Date:-2022-07-04 03:30:35


More MCQS Questions and answers