adplus-dvertising
frame-decoration

Question

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 operators

Posted under C# programming

Answer: (d).In case of operator overloading all parameters must be of different type than the class or struct that declares the operators

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Choose the wrong statement from the given set of statements?

Similar Questions

Discover Related MCQs

Q. What is vector in operator overloading?

Q. Choose the correct statement among the below mentioned statements:

Q. Correct method to define + operator is?

Q. Correct way to define operator method or to perform operator overloading is?

Q. Which statements are correct about operator overloading?

Q. Operators that can be overloaded are?

Q. Arrange the following overloaded operators in increasing order of precedence?

%, <<, &, /, +

Q. Which of following statements are correct in nature?

Q. Which of the following keyword is used to overload user defined types by defining static member functions?

Q. Choose the wrong statement about ‘INTERFACE’ in C#.NET?

Q. Access specifiers which can be used for an interface are?

Q. Which of these can be used to fully abstract a class from its implementation?

Q. Does C#.NET support partial implementation of interfaces?

Q. Which of the following is the correct way of implementing an interface addition by class maths?

Q. Choose the statements which makes interface different from classes?

Q. Which keyword is used for correct implementation of an interface in C#.NET?

Q. Select the correct statement among the given statements?

Q. Which of the following statements correctly define about the implementation of interface?

Q. A class consists of two interfaces with each interface consisting of three methods.The class had no instance data. Which of the following indicates the correct size of object created from this class?

Q. Which of the following cannot be used to declare an interface correctly?