可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

1. public class Blip&e


1. public class Blip {  2. protected int blipvert(int x) { return 0; }  3. }  4. class Vert extends Blip {  5. // insert code here  6. }  Which five methods, inserted independently at line 5, will compile?()  

  • A public int blipvert(int x) { return 0; }
  • B private int blipvert(int x) { return 0; }
  • C private int blipvert(long x) { return 0; }
  • D protected long blipvert(int x, int y) { return 0; }
  • E protected int blipvert(long x) { return 0; }
  • F protected long blipvert(long x) { return 0; }
  • Gprotected long blipvert(int x) { return 0; }
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、class java {  public&e

class java { public static void main(String [] java) {  for (int Java = 1; Java&e...

2、public class TestA{ &e

public class TestA{  public void methodA() throws IOException{  //……  }  }  publi...

3、public class Plant {&e

public class Plant { private String name; public Plant(String name) { this.name = name; }&e...

4、1. public class Test&e

1. public class Test { 2. int x= 12; 3. public void method(int x) { 4. x+=x;&ensp...

5、class Flow {  public&e

class Flow { public static void main(String [] args) { try { System.out.print("before "); ...

6、public class Starter e

public class Starter extends Thread { private int x= 2; public static void main(String[] args...