
|
Courage is grace under pressure
用我一輩子去追求
?
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.
設為首頁
加入收藏
與我聯系
您的瀏覽器:
主站蜘蛛池模板:
一区二区三区免费电影|
四虎影视久久久免费|
亚洲 小说区 图片区 都市|
亚洲成人免费网址|
免费A级毛片无码A∨中文字幕下载|
激情小说亚洲色图|
亚洲人成色99999在线观看|
亚洲中文字幕久久无码|
亚洲色av性色在线观无码|
亚洲视频在线视频|
亚洲无删减国产精品一区|
亚洲精品中文字幕无码蜜桃|
亚洲成AV人片一区二区|
亚洲免费在线视频|
亚洲第一网站免费视频|
精品丝袜国产自在线拍亚洲|
国产日本亚洲一区二区三区|
偷自拍亚洲视频在线观看|
igao激情在线视频免费|
鲁丝片一区二区三区免费|
无码区日韩特区永久免费系列
|
在线观看91精品国产不卡免费|
四虎影库久免费视频|
亚洲Av无码专区国产乱码DVD|
亚洲AV综合色区无码一区|
亚洲粉嫩美白在线|
三年片免费高清版|
在线日本高清免费不卡|
免费人成在线观看视频播放
|
人人鲁免费播放视频人人香蕉|
国产精品免费久久久久影院|
成人免费视频网站www|
亚洲成A人片77777国产|
99人中文字幕亚洲区|
国产精品亚洲专区无码不卡|
国产日韩AV免费无码一区二区|
24小时免费直播在线观看|
亚洲AV永久无码精品|
亚洲AV无码片一区二区三区|
99久久精品免费精品国产|
亚洲第一区在线观看|
|