What Is The Syntax To Overload An Operator #965
What is the syntax to overload an operator?
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.1.
What is the syntax to overload an operator?
className::operator<operatorSymbol>(parameters)
className:operator<operatorSymbol>(parameters)
className.operator<operatorSymbol>(paramteres)
className->operator<operatorSymbol>(parameters)