Solved

Consider the Classes Below

Question 72

Multiple Choice

Consider the classes below: Consider the classes below:   Which of the statements below is false? A) Both variables a and b are instance variables. B) After the constructor for Class B executes,the variable a will have the value 7. C) After the constructor for Class B executes,the variable b will have the value 8. D) A reference to an object of Class A can be treated as a reference to an object of Class B.
Which of the statements below is false?


A) Both variables a and b are instance variables.
B) After the constructor for Class B executes,the variable a will have the value 7.
C) After the constructor for Class B executes,the variable b will have the value 8.
D) A reference to an object of Class A can be treated as a reference to an object of Class B.

Correct Answer:

verifed

Verified

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

Related Questions