Interviewer And Interviewee Guide

C++ Inheritance Interview Question:

Explain about overriding?

Submitted by: Murtaza
Defining a function in the derived class with same name as in the parent class is called overriding. In C++, the base class member can be overridden by the derived class function with the same signature as the base class function. Method overriding is used to provide different implementations of a function so that a more specific behavior can be realized.
Submitted by: Murtaza

Read Online C++ Inheritance Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.