Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started