<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    <li id="o88cq"><dl id="o88cq"></dl></li>
    <nav id="o88cq"></nav>
  • Courage is grace under pressure

    用我一輩子去追求

    導航

    <2006年8月>
    303112345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    統計

    • 隨筆 - 17
    • 文章 - 1
    • 評論 - 2
    • 引用 - 0

    常用鏈接

    留言簿(43)

    隨筆檔案

    文章檔案

    相冊

    XML的Blog

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    Java面試題(English)

    ?

    1. Why do you prefer Java?

    Answer: write once ,run anywhere.

    ?

    2. Name some of the classes which provide the functionality of collation?

    Answer: collator, rulebased collator, collationkey, collationelement iterator.

    ?

    3. Awt stands for? and what is it?

    Answer: AWT stands for Abstract window tool kit. It is a is a package that provides an integrated set of classes to manage user interface components.

    ?

    4. why a java program can not directly communicate with an ODBC driver?

    Answer: Since ODBC API is written in C language and makes use of pointers which Java can not support.

    ?

    5. Are servlets platform independent? If so Why? Also what is the most common application of servlets?

    Answer: Yes, Because they are written in Java. The most common application of servlet is to access database and dynamically construct HTTP response

    ?

    6.What is a Servlet?

    Answer: Servlets are modules of Java code that run in a server application (hence the name "Servlets", similar to "Applets" on the client side) to answer client requests.

    ?

    7.What advantages does CMOS have over TTL(transitor transitor logic)? (ALCATEL)

    Answer:

    low power dissipation

    pulls up to rail

    easy to interface

    ?

    8.How is Java unlike C++? (Asked by Sun)

    Some language features of C++ have been removed. String manipulations in Java do not allow for buffer overflows and other typical attacks. OS-specific calls are not advised, but you can still call native methods. Everything is a class in Java. Everything is compiled to Java bytecode, not executable (although that is possible with compiler tools).

    ?

    9.What is HTML (Hypertext Markup Language)?

    HTML (HyperText Markup Language) is the set of "markup" symbols or tags inserted in a file intended for display on a World Wide Web browser. The markup tells the Web browser how to display a Web page’s words and images for the user.

    ?

    10.Define class.

    Answer: A class describes a set of properties (primitives and objects) and behaviors (methods).

    ?

    11.In Java, what is the difference between an Interface and an Abstract class?

    A: An Abstract class declares have at least one instance method that is declared abstract which will be implemented by the subclasses. An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior.

    ?

    12. Can you have virtual functions in Java? Yes or No. If yes, then what are virtual functions?

    A: Yes, Java class functions are virtual by default. Virtual functions are functions of subclasses that can be invoked from a reference to their superclass. In other words, the functions of the actual object are called when a function is invoked on the reference to that object.

    ?

    13.Write a function to reverse a linked list p in C++?

    A:

    Link* reverse_list(Link* p)

    {

    if (p == NULL)

    return NULL;

    Link* h = p;

    p = p->next;

    h->next = NULL;

    while (p != null)

    {

    Link* t = p->next;

    p->next = h;

    h = p;

    p = t;

    }

    return h;

    }

    ?

    14.In C++, what is the usefulness of Virtual destructors?

    A:Virtual destructors are neccessary to reclaim memory that were allocated for objects in the class hierarchy. If a pointer to a base class object is deleted, then the compiler guarantees the various subclass destructors are called in reverse order of the object construction chain.

    ?

    15.What are mutex and semaphore? What is the difference between them?

    A:A mutex is a synchronization object that allows only one process or thread to access a critical code block. A semaphore on the other hand allows one or more processes or threads to access a critial code block. A semaphore is a multiple mutex.

    posted on 2006-07-31 10:14 xyh 閱讀(3264) 評論(2)  編輯  收藏

    評論

    # re: Java面試題(English) 2006-07-31 14:16 langds

    隨手摘一段:
    5.Are servlets platform independent? If so Why? Also what is the most common application of servlets?

    Answer: Yes, Because they are written in Java. The most common application of servlet is to access database and dynamically construct HTTP response

    這個回答實在太膚淺了,只不過他是以英語的方式來交流,而不是中文,如此而已.
      回復  更多評論   

    # re: Java面試題(English) 2006-08-02 17:05 楊一

    不同意langds的觀點,他的回答是簡明扼要的,并能深入本質  回復  更多評論   


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    設為首頁 加入收藏 與我聯系 您的瀏覽器:

    主站蜘蛛池模板: 亚洲乱码中文字幕综合234| 真人做人试看60分钟免费视频| 国产青草视频免费观看97| 国产91在线|亚洲| a毛片基地免费全部视频| 亚洲日本人成中文字幕| 18勿入网站免费永久| 亚洲人成在线中文字幕| 无人在线观看完整免费版视频| 亚洲综合色丁香婷婷六月图片| 中文字幕无码不卡免费视频| 亚洲中文字幕乱码AV波多JI| 天天干在线免费视频| 羞羞漫画在线成人漫画阅读免费| 亚洲av手机在线观看| 久久www免费人成精品香蕉| 亚洲VA成无码人在线观看天堂| 国产精品免费大片| 亚洲午夜久久久精品电影院| 成人午夜视频免费| 美女被爆羞羞网站在免费观看| 亚洲香蕉成人AV网站在线观看| 久久国产乱子伦精品免费一| 亚洲伊人久久大香线蕉在观| 国产精品免费看香蕉| 国产99久久久久久免费看| 亚洲色图在线观看| 久久久久久国产a免费观看黄色大片 | 亚洲欧洲尹人香蕉综合| 成年轻人网站色免费看| 四虎国产精品成人免费久久| 亚洲网址在线观看你懂的| 最近最新的免费中文字幕| 日日摸夜夜添夜夜免费视频 | 国产成人亚洲午夜电影| 国产亚洲欧洲精品| 在人线av无码免费高潮喷水| 成年大片免费视频播放一级| 亚洲精品美女视频| 国产99视频精品免费视频7| 免费人成视频在线观看网站|
  • <rt id="o88cq"></rt>
    <center id="o88cq"><acronym id="o88cq"></acronym></center>
    <abbr id="o88cq"><source id="o88cq"></source></abbr><tfoot id="o88cq"></tfoot>
    <rt id="o88cq"><acronym id="o88cq"></acronym></rt><nav id="o88cq"><dl id="o88cq"></dl></nav>
  • <dl id="o88cq"><acronym id="o88cq"></acronym></dl>