black

SCJP程序员认证考试

登录

单项选择题

1. public class enclosingone ( 
2. public class insideone{} 
3. ) 
4. public class inertest( 
5. public static void main (string[]args)( 
6. enclosingone eo= new enclosingone (); 
7. //insert code here 
8. ) 
9. )   
Which statement at line 7 constructs an instance of the inner class?()  

A. InsideOnew ei= eo.new InsideOn();
B. Eo.InsideOne ei = eo.new InsideOne();
C. InsideOne ei = EnclosingOne.new InsideOne();
D. EnclosingOne.InsideOne ei = eo.new InsideOne();

相关考题

单项选择题 package foo; public class Outer (  public static class Inner (  )  )   Which statement is true? ()

多项选择题 Whichtwodemonstratean“isa”relationship?()

多项选择题 public class MethodOver  {  public void setVar (int a, int b, float c)  {  }  }   Which two overload the setVar method?()

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

备案号:湘ICP备2020024380号-3