What is the difference between C++ & Java? What is JAR file? What is JNI? What is serialization?

How are Observer and Observable used? What is synchronization and why is it important? Does garbage collection guarantee that a program will not run out of memory? What is the difference between a break statement and a continue statement? What are synchronized methods and synchronized statements? What is a monitor? Explain the use of synchronization keyword. Explain how do we allow one thread to wait while other to finish. Explain the purpose of yield method. What is the difference between yielding and sleeping? What is the difference between preemptive scheduling and time slicing? What is a task's priority and how is it used in scheduling? What is package in JAVA? Can we have parameterized constructors in Java? Explain the difference between static and non-static member of a class. Define inner class in Java Describe the use of “instanceof” keyword. What is the purpose of “this” keyword? What is the disadvantage of garbage collector? What are the methods in java to force garbage collector to run? Define Applet. Explain the life cycle of an applet. What is the purpose of finalization? What is the difference between the File and RandomAccessFile classes? Define class and object. Explain them with an example using java. Explain class vs. instance with example using java. What is a method? Provide several signatures of the methods. Explain the difference between instance variable and a class variable. Provide example to explain them. Explain how to create instance of a class by giving an example. Define an abstract class. Explain its purpose. What is the difference between an Abstract class and Interface? What is singleton class? Where is it used? What is a native method? What is the difference between a public and a non-public class? What is the difference between Static and Non-Static fields of a class in Java? What is Bootstrap, Extension and System Class loader in Java? What is Reflection API in Java? Explain the difference between static and dynamic class loading in Java. What is LinkedList class? Define LinkedHashSet class. What is Map and SortedMap Interface?

What is casting? What are the different types of Casting? What is class loader? Explain the purpose of Bootstrap class loader. Explain the difference between traditional java Array and Arraylist class. Define TreeSet class. String object is immutable, Explain. What is StringBuffer class? Explain the difference between pass by value and pass by reference. Explain access modifiers in JAVA. What is serialization? Define Savepoints in a transaction. What are filter class in java? How do we consume a web service in java? Define JDBC. Describe JDBC Architecture in brief. Define ResultSet. What is ResultSetMetaData? What are the types of JDBC drivers? Define Isolation. What are the Transaction levels available? What is the purpose of setAutoCommit do? What is JDBC driver? What is JDBC driver? What are the steps required to execute a query in JDBC? Define Connection pooling. What are the common tasks of JDBC? Describe the types of Beans. Explain the Common use of EJB. What are transaction isolation levels in EJB? What is Entity Bean? What is preinitialization of a servlet? What is the difference between JSP and Servlets? What is the difference between Difference between doGet() and doPost()? What's the difference between servlets and applets? What is JSP? What is the purpose of setAutoCommit do? Define class and object. Explain them with an example using java. Explain class vs. instance with example using java. What is a method? Provide several signatures of the methods. Explain the difference between instance variable and a class variable. Provide example to explain them. Explain how to create instance of a class by giving an example. Define an abstract class. Explain its purpose. What is the difference between an Abstract class and Interface? What is singleton class? Where is it used? What is a native method? What is the difference between a public and a non-public class?

What is the purpose of the Runtime class? What is the difference between a static and a non-static inner class? What is the difference between the String and StringBuffer classes? What is the Dictionary class? What is the ResourceBundle class? What is the Vector class? What is the SimpleTimeZone class? What is the purpose of the System class? How are this() and super() used with constructors? What is the difference between the >> and >>> operators? What is the difference between the Boolean & operator and the && operator? What is transient variable? What is the difference between static and non-static variables? What is the difference between a field variable and a local variable? What is inheritance? Explain it with an example. What is an overloaded method? Provide an example to explain it. Define overriding. Explain it with an example. Explain the difference between overloading and overriding. Explain the use of ‘super’ keyword by giving an example. Define a final class in java. Explain the purpose of final class. What is an interface? Explain with an example using java. Abstract class vs. interface. How can we implement multiple inheritances in java? Explain the purpose of ‘instanceof’ keyword in java. Provide an example. What is cloning? Explain how to design a class that supports cloning. What are packages in java? Explain the purposes of packages. What are access levels for classes and interfaces? Explain each of them i.e. public, protected and private. What is the List interface? What is an Iterator interface? What is the Map interface? What is the Collection interface? What is the Locale class? What are primitive types in java? Explain the difference between Integer and int in java. How and when can we cast from one class to another? How does Java handle integer overflows and underflows? How do we allocate an array dynamically in java? Explain with example how to initialize an array of objects. What is an Exception? Explain by giving an example. Checked Exceptions vs. Unchecked Exceptions. What is a user defined exception? What are the different ways to generate an Exception? How are try, catch and finally block organized? What is a throw in an Exception block? What are Chained Exceptions?

What is the purpose of the finally clause of a try-catch-finally statement? Explain the processes performed by java virtual machine, i.e. loading, linking, initialization. Explain the purpose of garbage collection that the JVM uses. What is javap? What is an applet? How does applet differ from applications? Explain with an example how we implement an applet into a web page using applet tag. What are the attributes of Applet tags? Explain the purposes. How can we determine the width and height of my applet? Explain how to set the background color within the applet area. What are methods that controls an applet’s life cycle, i.e. init, start, stop and destroy? What are the methods that control an applet’s on-screen appearance? I.e. update and paint. Explain with an example how to read information from the applet parameters. Provide an example where two applets communicate each other. Explain how to play sound in an applet. Explain how to play audio in a stand alone application. What is the difference between an Applet and an Application? What are the component and container classes? Explain the purpose of invalidate and validate methods. What are AWT peers? When are peers created and destroyed? Explain how to create a borderless window with an example. Show with an example the usage of FileDialog object. Explain the purposes of component’s requestFocus method. Which method of the Component class is used to set the position and size of a component? What interface is extended by AWT event listeners? Explain the purpose of Event object. What is an action event? Explain the different kinds of event listeners. What is event adapter class? When should we use an event adapter class? What is the relationship between clipping and repainting? What is the relationship between an event-listener interface and an event-adapter class? What is the difference between the paint() and repaint() methods? What is the purpose of the enableEvents() method? What is the difference between a Scrollbar and a ScrollPane? 1. What is paint method? What should we put in paint method? When is it invoked? 2. What is the purpose of repaint method? When should we use repaint method? 3. Explain the use of update method. When is it invoked? 4. How does the XOR drawing mode work? What are the properties of XOR drawing? 5. Explain how to load an image from the net into my applet. 6. Explain how to load an image from a file in a java application. 7. What is the difference between a Window and a Frame? 8. Explain how to draw text over a background image. What is the purpose of the Runtime class?

What is the difference between a static and a non-static inner class? What is the difference between the String and StringBuffer classes? What is the Dictionary class? What is the ResourceBundle class? What is the Vector class? What is the SimpleTimeZone class? What is the purpose of the System class? How are this() and super() used with constructors? What is the purpose of finalization? What is the difference between the File and RandomAccessFile classes? What is a StringBuffer class and how does it differs from String class? What is the difference between StringBuilder and StringBuffer? Explain how to implement shallow cloning and deep cloning. Explain the Java packages which contains JDBC classes and interfaces, Java.SQL, Javax.SQL Describe how to open a database connection using JDBC. Describe with an example how to send SQL statements to databases for execution. What is PreparedStatement? How do you call a Stored Procedure from JDBC? What is a “dirty read”? What is cold backup, hot backup, warm backup recovery? What is the advantage of using PreparedStatement? Different types of Transaction Isolation Levels. What is 2 phase commit? What is JSP? Define JSP directives. Explain the categories of JSP tags - Directives, Scripting elements, Actions What are Scriplets? Explain how a JSP is compiled into servlets by the container. Explain how to use Javabeans from JSP pages. What is Tag extension in JSP model? What is Tag library descriptor (TLD)?

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master Your Semester with a Special Offer from Scribd & The New York Times

Cancel anytime.