1.接口中方法的前面有哪些修饰符 2.以下哪个为真 
  Interger a = new Interger(9); 
  Interger b = new Interger(9); 
  Long c = New Long(9) 
----- 
  A.  a==b 
  B.  b==c 
  C.  a.equals(b) 
  D.  b.equals(new Interger(9)) 
3.以下哪两个方法可以加到three中 
  class one{ 
    public one foo(){return this;} 
}   class two extends one{ 
    public one foo(){return this;} 

  class three extends two{ 
  //插入到这 

--- 
  A.  public void foo(){} 
  B.  public int foo(){return 1;} 
  C.  public one foo(){return this;} 
  d.  public two foo(){return this;} 
  e.  public object foo(){return this;} 
  
4.以下哪些为true 
  class a{} 
  class b extends a{} 
  class c extends a{}   a p0=new a(); 
  b p1=new b(); 
  c p2=new c();   a p3=new b(); 
  a p4=new c(); 
---- 
  A.  p1 = (b)p2 
  B.  p3 = (a)p4 
  C.  p3 = (b)p4 
  d.  p0 = (a)p1 
5. 以下有无问题 
abstract class a{ 
    public void fo(){ system.out.println("a");} 

6. 以下有无问题 
abstract class b{ 
    static void f1(){ system.out.println("f1");} 
    public static void main(String[] args){ 
          b b1=new b(); 
          b1.f1(); 
    } 

7. 以下代码运行结果是   try{ 
      //此行会抛出NullPointedException 
  } 
  catch(NullPointedExecption e){ 
      System.out.print("1") 
  } 
  catch(RuntimeExection e){ 
      System.out.print("2") 
  } 
  finally{ 
      System.out.print("3") 

­ 
  A. 1 
  B. 12 
  C. 123 
  d. 13 
  e. 23 
8. 以下代码有什么问题,如何该 
class a{ 
    private int a=1; 
    public f(int b){return a} 
} class b extends a{ 
    public void f1(){} 
    public void f2(){ return a } 

9.以下代码有问题吗 
class a{ 
    void f(){ system.out.println("f");} 
    public static void main(String[] args){ 
      new a().f(); 
  } 
  } 
10. 以下程式运行时,可能产生的结果是什么 
  class a extends thread{ 
      public void run{ 
          System.out.print("a"); 
          throw  new runtimeExecetion("break") 
      } 
  } 
  class b{ 
    public static void main(String[] args){ 
        a a1 =new a(); 
        system.out.println("b") 
    } 
  } ­ 11. 如何优化以下程式的效率,为什么? 
  for(int i=0; i <10000;i++){ 
      for(int j=0; j <100;j++){ 
          for(int k=0; k <10;k++){ 
            System.out.print("out"); 
          } 
      } 

12.为什么io,socket等一些对象所占的资源,垃圾回收器不能回收? 
13.多线程有集中实现同步的方式,是什么? 
14.事务acid的含义 
15.谈谈你对web MVC的理解,其优缺点 
16.谈谈你对javaEE框架的(spring/ejb)的理解,并列举其优缺点 
17.画出代理模式的结构图,并简要说明其每个角色 
18.设计模式的原则有哪些 
19.has a 和 is a的区别 
20.类图中的聚合和依赖的区别 
21.说说java本身的性能优化 
21.谈谈hibernate的延时加载机制,其会导致什么问题 
 还有甚多,有点事,会尽快更新