Question: Suppose the variable my _ register is declared to be of type CashRegister, which is an object. Suppose further that the CashRegister object has a

Suppose the variable my_register is declared to be of type CashRegister, which is an object. Suppose further that the CashRegister object has a member function named clear(). If the special parameter variable this is used within the member function clear, exactly how would you describe the meaning of that variable when the following statement is executed?
my_register.clear()
 Suppose the variable my_register is declared to be of type CashRegister,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!