Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. All java classes are derived from A) java.lang.Class B) java.util.Name C) jav

ID: 3546496 • Letter: 1

Question

1. All java classes are derived from

A) java.lang.Class

B) java.util.Name

C) java.lang.Object

D) java.awt.Window


2. The jdb is used to

A) Create a jar archive

B) Debug a java program

C) Create C header file

D) Generate java documentation



3. 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


4. For execution of DELETE SQL query in JDBC, ............. method must be used.

A) executeQuery()

B) executeDeleteQuery()

C) executeUpdate()

D) executeDelete()


5. Which method will a web browser call on a new applet?

A) main method

B) destroy method

C) execute method

D) init method


6. Which of the following is not mandatory in variable declaration?

A) a semicolon

B) an identifier

C) an assignment

D) a data type




Explanation / Answer

d


b




d


a


c