JAVA - Programming Online Tests
Question 1: A class defines the structure and behavior (data and code) that will be shared by a set of objects ...

Question 1: Thread class is defined in the package ______ ...

Question 1: Which is an abstraction that either produces or consumes information. ...

Question 1: The class that inherits is called a ...

Question 1: Which of the statement below does not correctly defines the difference between JDBC and ODBC ? ...

Question 1: What output is displayed as the result of executing the following statement? System.out.println("// Looks like a comment."); // Looks like a comment ...

Question 1: You would use the ____ operator to create a single instance of a named class. ...

Question 1: What is the role played by JSP in the MVC architecture ...

Question 1: Which tag in the jsp is used to define the error page? ...

Question 1: finalize() method works for.......... ...

Question 1: The content pane is the main container in JApplet, JDialog, and JFrame objects ...

Question 1: Any concept you wish to implement in a Java program must be encapsulated within a class ? ...

Question 1: Which of the statement below does not correctly defines the difference between JDBC and ODBC ? ...

Question 1: What is meant by timeslicing or time sharing? ...

Question 1: Java is a Programming Language ...

Question 1: Declaration of methods as final results in faster execution of the program? ...

Question 1: What is byte code in the context of Java? ...

Question 1: Which of the following denote methods of HttpServlet class ...

Question 1: Choose the correct statement ...

Question 1: Consider public class MyClass{ public MyClass(){/*code*/} // more code... } To instantiate MyClass, you would write? ...

Question 1: Which of the following object is received when a servlet accepts call from client? ...

Question 1: Which of the following is not a primitive data type? ...

Question 1: You are writing an error-handling routine to test for run-time errors in a procedure. At the end of the procedure, you want to reset all the properties of the Err object. Which of the following is the best technique? ...

Question 1: What is the initial contact point for handling a web request in a Page-Centric architecture? ...

Question 1: What are the two types of multitasking? 1. Process-based 2. Thread-based ...

Question 1: If a frame uses a Grid layout manager and does not contain any panels, then all the components within the frame are the same width and height ...

Question 1: Which of the following methods are invoked by the AWT to support paint and repaint operations? ...

Question 1: In the following classes which one is used to proved a compact,multiple-choice scrolling selection list. ...

Question 1: The event delegation model, introduced in release 1.1 of the JDK, is fully compatible with the event model. ...

Question 1: A Frame’s background color is set to Color.Yellow, and a Button’s background color is to Color.Blue. Suppose the Button is added to a Panel, which is added to the Frame. What background color will be used with the Panel ? ...

Question 1: A Frame’s background color is set to Color.Yellow, and a Button’s background color is to Color.Blue. Suppose the Button is added to a Panel, which is added to the Frame. What background color will be used with the Panel? ...

Question 1: You want to construct a text area that is 80 character - widths wide and 10 character - heights tall. What code do you use ...

Question 1: How would you set the color of a graphics context called g to cyan? ...

Question 1: How would you set the color of a graphics context called g to cyan ? ...











