Question: 1. package geometry; 2. public class Hypotenuse { 3. public Inner Triangle it = new Inner Triangle(); 4. class Inner Triangle { 5. public int

 1. package geometry; 2. public class Hypotenuse { 3. public Inner

1. package geometry; 2. public class Hypotenuse { 3. public Inner Triangle it = new Inner Triangle(); 4. class Inner Triangle { 5. public int base; 6. public int height; 7. } 8.} Which statement is true about the class of an object that can reference the variable base? A. It can be any class. B. No class has access to base. C. The class must belong to the geometry package. D. The class must be a subclass of the class Hypotenuse

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!