Which Operator Among The Following Must Be Overloaded Using The #974
Which operator among the following must be overloaded using the friend function?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Member Functions & its Types - Object Oriented Programming MCQ: Member Operator Function - Quiz No.2.
Which operator among the following must be overloaded using the friend function?
<< operator only
>> operator only
Both << and >> operators
It’s not mandatory to use friend function in any case