package geometry;  public class Hypotenuse {  public InnerTriangle it = new InnerTriangle();  class InnerTriangle {  public int base;  public int height;  }  }  Which 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.

时间:2022-08-30 01:39:09 所属题库:SCJP程序员认证考试题库

相似题目