Which is the only operator in C++ which can be overloaded
but NOT inherited?

Answer Posted / lokesh

"=" is the only operator which can be overloaded but can not
be inherited

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in ict?

608


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1780


Why is oop better than procedural?

604


What is abstraction in oops with example?

774


Is oop better than procedural?

572






What is the purpose of enum?

581


Why is static class not inherited?

595


What is abstraction and encapsulation?

570


What is encapsulation example?

545


What is difference between abstraction and encapsulation?

592


Why is oop useful?

602


What is the real time example of inheritance?

639


What is polymorphism in oops?

557


What is the difference between abstraction and polymorphism?

617


What do you mean by Encapsulation?

640