Software Engineering Mcqs

Which statement is static and synchronized in JDBC API ?

(A) getConnection()

(B) executeQuery()

(C) prepareCall()

(D) executeUpdate()

Submitted By: Ali Uppal


Which class cannot be subclassed (or extended) in java ?

(A) Final class

(B) abstract class

(C) parent class

(D) None of above

Submitted By: Ali Uppal


Java is a _______________language?

(A) moderate typed

(B) strogly typed

(C) weakly typed

(D) none of these

Submitted By: Ali Uppal


Runnable is_______________?

(A) Interface

(B) Class

(C) Variable

(D) Method

Submitted By: Ali Uppal


The object is created with “new” keyword ?

(A) At Compile-time

(B) At run-time

(C) Depends on the code

(D) None of these

Submitted By: Ali Uppal


Which method of java is invoked by JVM to reclaim the inaccessible memory location ?

(A) reclaim() method

(B) finalize() method

(C) final() method

(D) both b and c

Submitted By: Ali Uppal


Submitted By: Ali Uppal


Submitted By: Ali Uppal


Which driver is efficient and always preferable for using JDBC applications_____________?

(A) Type-1 driver

(B) Type-2 driver

(C) Type-3 driver

(D) Type-4 driver

Submitted By: Ali Uppal


Submitted By: Ali Uppal