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

1 Expert Approved Answer
Step: 1 Unlock

b dblDi... View full answer

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 Programming with Microsoft Visual Basic 2015 Questions!