Polymorphism

Q1:
Which of the following statements are correct?
  1. All operators in C#.NET can be overloaded.
  2. We can use the new modifier to modify a nested type if the nested type is hiding another type.
  3. In case of operator overloading all parameters must be of the different type than the class or struct that declares the operator.
  4. Method overloading is used to create several methods with the same name that performs similar tasks on similar data types.
  5. Operator overloading permits the use of symbols to represent computations for a type.

A 1, 3

B 2, 4

C 2, 5

D 3, 4

ANS:C - 2, 5

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.