1.

Choose the wrong statement from the given set of statements?(a) All operators in C#.NET cannot be overloaded(b) We can use the new modifier to modify a nested type if the nested type is hiding another type(c) Operator overloading permits the use of symbols to represent computations for a type(d) In case of operator overloading all parameters must be of different type than the class or struct that declares the operatorsI got this question in an online interview.I'd like to ask this question from Introduction of Overloaded Operators topic in division Object Oriented Concepts of C#

Answer»

Correct option is (d) In case of OPERATOR OVERLOADING all PARAMETERS must be of DIFFERENT type than the class or struct that declares the operators

Best explanation: None.



Discussion

No Comment Found

Related InterviewSolutions