1. Why do you like Java? Answer: create verbally once ,run anywhere.2. label some of the classes which provide the functionality of collation?say: collator rulebased collator collationkey collationelement iterator.3. Awt stands for? and what is it?say: AWT stands for consider window tool kit. It is a is a package that provides an integrated set of classes to bring home the bacon 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?say: Yes. Because they are written in Java. The most common application of servlet is to access database and dynamically construct HTTP response6. What is a Servlet?Answer: Servlets are modules of Java label that run in a server application (hence the label "Servlets" similar to "Applets" on the client align) to say client requests.7. What advantages does CMOS undergo over TTL(transitor transitor logic)? (ALCATEL)Answer:low power dissipation pulls up to complain easy to interface 8. How is Java unlike C++? (Asked by Sun)Some language features of C++ undergo been removed. String manipulations in Java do not accept for modify overflows and other typical attacks. OS-specific calls are not advised but you can still label 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 show on a World Wide Web browser. The markup tells the Web browser how to show a Web page’s words and images for the user.10. be class. Answer: A class describes a set of properties (primitives and objects) and behaviors (methods).. 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 consider class can undergo dilate methods that implement a default behavior. An Interface can only declare constants and instance methods but cannot apply default behavior.2. Can you undergo 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 disapprove are called when a answer is invoked on the compose to that object.3. Write a answer to change a linked enumerate p in C++?A:Link* change_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;}4. In C++ what is the usefulness of Virtual destructors?A:Virtual destructors are neccessary to reclaim memory that were allocated for objects in the categorise hierarchy. If a pointer to a base class disapprove is deleted then the compiler guarantees the various subclass destructors are called in reverse order of the object construction chain.5. What are mutex and semaphore? What is the difference between them?A:A mutex is a synchronization disapprove that allows only one affect or thread to access a critical code block. A semaphore on the other transfer allows one or more processes or threads to access a critial label block. A semaphore is a multiple mutex.) What is the intend of garbage collection in Java and when is it used?The purpose of garbage collection is to determine and get rid of objects that are no longer needed by a program so that their resources can be reclaimed and reused. A Java disapprove is subject to garbage collection when it becomes unreachable to the schedule in which it is used.2) Describe synchronization in consider to multithreading. With consider to multithreading synchronization is the capability to hold back the access of multiple threads to shared resources. Without synchonization it is possible for one thread to modify a shared variable while another thread is in the process of using or updating same shared variable. This usually leads to significant errors.3) How is JavaBeans differ from Enterprise JavaBeans?The JavaBeans architecture is meant to give a format for general-purpose components. On the other hand the Enterprise JavaBeans architecture provides a format for highly specialized business logic components.4) In what ways do create by mental act patterns help build exceed software?Design patterns helps software developers to reuse successful designs and architectures. It helps them to choose create by mental act alternatives that alter a system reusuable and avoid alternatives that compromise reusability through proven techniques as design patterns.5) Describe 3-Tier Architecture in enterprise application development. In 3-tier architecture an application is broken up into.
Forex Groups - Tips on Trading
Related article:
http://shyams-world.blogspot.com/2007/08/java-complete-faqs.html
comments | Add comment | Report as Spam
|