C# Programming - Polymorphism - Discussion

Discussion Forum : Polymorphism - General Questions (Q.No. 10)
10.
Which of the following statements is correct?
The conditional logical operators cannot be overloaded.
When a binary operator is overloaded the corresponding assignment operator, if any, must be explicitly overloaded.
We can use the default equality operator in an overloaded implementation of the equality operator.
A public or nested public reference type does not overload the equality operator.
The array indexing operator can be overloaded.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Mohammad Amir Suhel said:   1 decade ago
&&, ||.

The conditional logical operators cannot be overloaded, but they are evaluated using & and |, which can be overloaded.

Anon said:   8 years ago
The array indexing operator can be overloaded - this is also correct?

Divya said:   1 decade ago
How can equality operator can be represented?

Post your comments here:

Your comments will be displayed after verification.