Solved

Which of the Following Would Correctly Call the Base Class

Question 26

Multiple Choice

Which of the following would correctly call the base class BaseClass) assignment operator from the derived class DerivedClass) assignment operator?
DerivedClass& DerivedClass::operator =const DerivedClass& rightSide)
{
//what goes here?
}


A) BaseClass::operator=rightSide) ;
B) leftSide=rightSide;
C) rightSide=BaseClass.rightSide;
D) DerivedClass::rightSide=BaseClass::rightSide;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions