Multiple Choice
For the following code, which statement is not true?
Public class Circle
{ private double radius;
Public double x;
Private double y;
}
A) The y field is available to code that is written outside the Circle class.
B) The radius field is not available to code written outside the Circle class.
C) The radius, x, and y fields are members of the Circle class.
D) The x field is available to code that is written outside the Circle class.
Correct Answer:

Verified
Correct Answer:
Verified
Q8: When a local variable in an instance
Q17: A method<br>A) may have zero or more
Q22: The scope of a local variable is<br>A)
Q25: What is the following statement an example
Q27: The key word new<br>A) creates a new
Q28: A constructor is a method that is
Q31: The term "default constructor" is applied to
Q41: A method that gets a value from
Q48: An access specifier indicates how the class
Q56: When an object is created, the attributes