Interviewer And Interviewee Guide

OOP Interview Question:

In which cases you use override and new base?

Submitted by: Administrator
Use the new modifier to explicitly hide a member inherited from a base class. To hide an inherited member, declare it in the derived class using the same name, and modify it with the new modifier.
Submitted by: Administrator

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