I have a doubt


#1

Continuing the discussion from 4. I have to scan it more than once?--Passed without actually scanning anything:

what is the use of this statement?
why are we making quantity a part of the object cashRegister

this.quantity=quantity;


Replace this line with your code.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.