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

package foo;  public c


package foo;  public class Outer (   public static class Inner (   )   )   Which statement is true?()  

  • A An instance of the Inner class can be constructed with “new Outer.Inner()”
  • B An instance of the inner class cannot be constructed outside of package foo.
  • C An instance of the inner class can only be constructed from within the outer class.
  • D From within the package bar, an instance of the inner class can be constructed with “new inner()&rdquo
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、public interface Foo{ 

public interface Foo{ int k = 4; }  Which three are equivalent to line 2?() &ensp...

2、public interface Foo {

public interface Foo { int k = 4; 3. } Which three are equivalent to line 2?()A&e...

3、public class foo {&ens

public class foo { public static void main (string[]args) try {return;} finally {system.out.printIn(F...

4、public class Foo {&ens

public class Foo { public void main (String [] args)   { system.out.printIn(Hello World.);...

5、public class Foo {&ens

public class Foo { public void main( String[] args ) { System.out.println( Hello + args[0]&e...

6、public class foo {&ens

public class foo {  public static void main (stringargs)  try {return;}  finally {syste...