Question: The Item class contains a Public method named GetDiscount. The method is a Function procedure. An application instantiates an Item object and assigns it to
The Item class contains a Public method named GetDiscount. The method is a Function procedure. An application instantiates an Item object and assigns it to a variable named cellPhone. Which of the following can be used by the application to invoke the GetDiscount method?
a. dblDiscount = Call cellPhone.GetDiscount
b. dblDiscount = cellPhone.GetDiscount
c. dblDiscount = GetDiscount.cellPhone
d. Call cellPhone.GetDiscount
Step by Step Solution
3.49 Rating (152 Votes )
There are 3 Steps involved in it
b dblDi... View full answer
Get step-by-step solutions from verified subject matter experts
