The Inventory class contains a Private variable named strId. The variable is associatedwith the Public ItemId property. An application instantiates an Inventory object andassigns it to a variable named onHand. Which of the following can be used by theapplication 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"
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here