Choose a topic to test your knowledge and improve your Java skills
Java programs are
Java has its origin in
Which one of the following is true for Java
The command javac is used to
Java servlets are an efficient and powerful solution for creating ………….. for the web. D)
Filters were officially introduced in the Servlet ……………… specification.
Which is the root class of all AWT events
OOP features are i) Increasing productivity ii) Reusability iii) Decreasing maintenance cost iv) High vulnerability
break statement is used to i) get out of method ii) end a program iii) get out of a loop iv) get out of the system
Native-protocol pure Java converts ……….. into the ………… used by DBMSs directly.
All Java classes are derived from
The jdb is used to
What would happen if “String[]args” is not included as an argument in the main method?
For the execution of DELETE SQL query in JDBC, …………. method must be used.
Which method will a web browser call on a new applet?
Which of the following is not mandatory in a variable declaration?
When a programming class implements an interface, it must provide behavior for
In order to run JSP ……………….. is required.
State true or false. i) AWT is an extended version of swing ii) Paint( ) of Applet class cannot be overridden
Prepared Statement object in JDBC used to execute……….. queries.
In Java variables, if first increment of the variable takes place and then the assignment occurs. This operation is also called…………………………
When the operators are having the same priority, they are evaluated from …………….. …………. in the order they appear in the expression.
In Java, …………. can only test for equality, whereas ………… can evaluate any type of Boolean expression.
The ………………….. looks only for a match between the value of the expression and one of its case constants.
System.in.read() is being used, the program must specify the ……………… clause.
By using ………………. you can force immediate termination of a loop, bypassing the conditional expression and any remaining code in the body of the loop.
The out object is an object encapsulated inside the …………….. class and represents the standard output device.
The third type of comment is used by a tool called ……………… for automatic generation of documentation.
In the second type, the information written in java after // is ignored by the …………………..
The compiled Java program can run on any ………………… platform having Java Virtual Machine (JVM) installed on it. A) program B) java C) hardware D) nonjava
JSP embeds in ……………. in ………………….
State true or false. i) init() is called after start() in applet ii) applets are used for networking iii) inheritance is a part of Java Foundation Classes iv) final does not prevent inheritance