Question: 24 For the following code, which statement is not true? public elass Sphere private double radius publia double x private double y private double z
24 For the following code, which statement is not true? public elass Sphere private double radius publia double x private double y private double z A) The z field is available to code that is written outside the Sphere class. B) The radius field is not available to code written outside the Sphere class. C) The radius, x, y, and z fields are members of the Sphere class. D) The x field is available to code that is written outside the Sphere class 26) The key word new A) creates a new class. B) creates a new Java byte code file C) creates an object in memory D) creates a new variable in memory 20 A block of code is enclosed in a set of A) parentheses. B) brackets. C) braces. D) double quotes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
