Posts

Showing posts with the label java interview

MCQ of Java for Java Proficiency test [Solved PDF] - 3

All java classes are derived from A) java.lang.Class B) java.util.Name C) java.lang.Object D) java.awt.Window   The jdb is used to A) Create a jar archive B) Debug a java program C) Create C header file D) Generate java documentation   What would happen if "String[]args" is not included as argument in the main method. A) No error B) Compilation error C) Program won't run D) Program exit   For execution of DELETE SQL query in JDBC, ............. method must be used. A) executeQuery() B) executeDeleteQuery() C) executeUpdate() D) executeDelete()   Which method will a web browser call on a new applet? A) main method B) destroy method C) execute method D) init method   Which of the following is not mandatory in variable declaration? A) a semicolon B) an identifier C) an assignment D) a data type   When a program class implements an interface, it must provide behavior for A) two methods defined in that interface B) any methods in a class C) only certain methods ...