black

SCJP程序员认证考试

登录

单项选择题

You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access modifier that will accomplish this objective?()  

A. Public
B. Private
C. Protected
D. Transient
E. No access modifier is qualified.

相关考题

单项选择题 Whichwilldeclareamethodthatforcesasubclasstoimplementit?()

单项选择题 public class foo {  public static void main (String[]args) {  String s;  system.out.printIn (“s=” + s);  }  }   What is the result?()

单项选择题 int index = 1;  int [] foo = new int [3];  int bar = foo [index];  int baz = bar + index;   What is the result?()

All Rights Reserved 版权所有©建筑考试题库(jzkao.com)

备案号:湘ICP备2020024380号-3