移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

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? ()

发布日期:2022-06-16

package geometry;  public class Hypotenuse {  publ...
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.

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!