移动端

  • 题王微信公众号

    题王微信公众号

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

单选题

class super {   public int getLength() {return 4;}    }   public class Sub extends Super {   public long getLength() {return 5;}   public static void main (Stringargs) {   super sooper = new Super ();  Sub sub = new Sub();   System.out.printIn(   sooper.getLength()+ “,” + sub.getLength() };   }   What is the output?() 

发布日期:2021-05-16

class super {   public int getLength() {return 4;}...
A

4, 4

B

4, 5

C

5, 4

D

5, 5

E

The code will not compile.

标签: "暂无标签"

题王网让考试变得更简单

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