For the declaration x = Circle(), which of the following statements is the most correct?
A. The value of x is an int.
B. The type Circle is represented by x.
C. A Circle object is referenced in x.
D. You have the option of giving x an integer value.
Answer:C
For the declaration x = Circle(), which of the following statements is the most correct?
A. The value of x is an int. B. The type Circle is represented by x. C. A Circle object is referenced in x. D. You have the option of giving x an integer value.
Explanation: A Circle object is referenced in x.