1.

What is the vector in operator overloading?(a) class(b) method()(c) data type(d) none of the mentionedI have been asked this question in an interview for job.I would like to ask this question from Introduction of Overloaded Operators in portion Object Oriented Concepts of C#

Answer»

Correct option is (c) DATA type

The explanation is: It is a data type of CLASS. It is defined as PUBLIC static Vector OPERATOR + (Vector a, Vector B).



Discussion

No Comment Found

Related InterviewSolutions