Solved

Consider the Following Code Snippet: If a Program Instantiates

Question 15

Multiple Choice

Consider the following code snippet: Consider the following code snippet:   If a program instantiates four objects using this class, which of the following statements will be true?  A) Each object will have a currentRewardPointBalance instance variable and a level1Cutoff instance variable. B) All objects will share a single currentRewardPointBalance class variable and a level1Cutoff class variable. C) Each object will have a currentRewardPointBalance instance variable, but all objects will share a level1Cutoff class variable. D) All objects will share a currentRewardPointBalance class variable and each object will have a level1Cutoff instance variable. If a program instantiates four objects using this class, which of the following statements will be true?


A) Each object will have a currentRewardPointBalance instance variable and a level1Cutoff instance variable.
B) All objects will share a single currentRewardPointBalance class variable and a level1Cutoff class variable.
C) Each object will have a currentRewardPointBalance instance variable, but all objects will share a level1Cutoff class variable.
D) All objects will share a currentRewardPointBalance class variable and each object will have a level1Cutoff instance variable.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions