Question: in java For the following code, which statement is not true? public class Circle { private double radius; public double x; private double y; }

in java For the following code, which statement is not true?
public class Circle
{
private double radius;
public double x;
private double y;
}
Question 13 options:
a)
The y field is available to code 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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!