1.

Which feature in OOP is used to allocate additional function to a predefined operator in any language?(a) Operator Overloading(b) Function Overloading(c) Operator Overriding(d) Function OverridingI got this question in an internship interview.The doubt is from OOPs Features topic in chapter OOPs Concept & Features of Object Oriented Programming

Answer»

Right option is (a) OPERATOR Overloading

The BEST I can EXPLAIN: The feature is operator overloading. There is not a feature named operator OVERRIDING SPECIFICALLY. Function overloading and overriding doesn’t give addition function to any operator.



Discussion

No Comment Found

Related InterviewSolutions