Correct Answer: When overriding a method, the names and type signatures of the override method must be the same as the virtual method that is being overriden.
2. In order for an instance of a derived class to completely take over a class member from a base class, the base class has to declare that member as
Correct Answer: DerivedSample class hides the fun() method of base class.
10. Which of the following keyword is used to change the data and behavior of a base class by replacing a member of a base class with a new derived member?