The Inventory class contains a Private variable named strId. The variable is associated with the Public ItemId property. An application instantiates an Inventory object and assigns it to a variable...


The Inventory class contains a Private variable named strId. The variable is associated

with the Public ItemId property. An application instantiates an Inventory object and

assigns it to a variable named onHand. Which of the following can be used by the

application to assign the string “XG45” to the strId variable?

a. onHand.ItemId = "XG45"

b. ItemId.strId = "XG45"

c. onHand.strId = "XG45"

d. ItemId.strId = "XG45"



Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here