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.
4. Which of the following statements are correct?
All operators in C#.NET can be overloaded.
We can use the new modifier to modify a nested type if the nested type is hiding another type.
In case of operator overloading all parameters must be of the different type than the class or struct that declares the operator.
Method overloading is used to create several methods with the same name that performs similar tasks on similar data types.
Operator overloading permits the use of symbols to represent computations for a type.
Correct Answer: DerivedSample class hides the fun() method of base class.
9. 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?