Answers

Question and Answer:

  Home  OOP

⟩ In which cases you use override and new base?

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.

 176 views

More Questions for you: