外企JAVA职位面试题,有兴趣的朋友进来解答一下!  1. What different between CORBA and RMI?   2. What is the JVM,JRE?   3. What different between EntityBean and SessionBean?   4. How to implement the transaction in EJB?   5. How to define the inner class?   6. What different between abstract class and interface in Jav a?   7. How to use "final" to class,method and data?   8. How to open a host and send a stream throught net in TCP/ IP using Java?   9. How to use JAVA thread?   10. How Java servlet work?

解决方案 »

  1.   

    题目都不难,稍微翻一下书都可以找到答案的。
    这个应该是去应聘web工程师的吧。
      

  2.   

    外企笔试要不要靠基础的知识,怎么全都是java知识啊?
    比如,数据结构,操作系统之类的/
      

  3.   

    standard and natty answer:you could have recourse to Google to hunt for all of the answers. so it is my turn to ask you the only key question in this interview: what is the god damn time we should start our work? besides, because of my over-charming characters, i could not guarantee the stability of families of the boys or men.
      

  4.   

    to: gemouzhi(gemouzhi) 
     你妹妹的,有那么牛吗!
      

  5.   

    1. What different between CORBA and RMI? 
           CORBA can be implemented by any language
           RMI is limited to java.
     
      2. What is the JVM,JRE? 
           Java Virtual Machine
           Java Runtime Enviroment  3. What different between EntityBean and SessionBean? 
           It's easy to differ them,but hard to say the difference!
           EntityBean is publicly considered as  a darg!  4. How to implement the transaction in EJB? 
           JTA (container or user defined)  5. How to define the inner class? 
           just define the class in another class(in anywhere).  6. What different between abstract class and interface in Jav a? 
           interface is more abstract than abstract class  7. How to use "final" to class,method and data? 
           final class can't be extended
           final method can't be overrided, and can be inline by compiler!
           final data can't be modified if it has initialized
      8. How to open a host and send a stream throught net in TCP/ IP using Java? 
           Use java.net.Socket, you are stupid to ask such a foolish question,java 
           is famous as a network language,and socket is another mather.
        
      9. How to use JAVA thread? 
           Thread or Runnable.
           invoke the start mothod of a Thread instance.  10. How Java servlet work?
            In short,init(),service(),destory();
      

  6.   

    我现在就在外企实习培训JAVA,考试测验面试JAVA全部是英文的,还要加紧学习英语~