Software Engineering Mcqs

The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } } ?

(A) Prints true

(B) Prints false

(C) Will not compile as boolean is not initialized

(D) Will not compile as boolean can never be static

Submitted By: Ali Uppal


Smallest individual unit in java program is known as____________________?

(A) token

(B) string

(C) literal

(D) operator

Submitted By: Ali Uppal


Submitted By: Ali Uppal


Which command is used for interpretation of java program_______________?

(A) Java

(B) javap

(C) javac

(D) none of above

Submitted By: Ali Uppal


Which type of inheritance is not supported by java_____________?

(A) Single

(B) Mulilevel

(C) Hirarchical

(D) Multiple

Submitted By: Ali Uppal


The JDBC-ODBC bridge is_________________?

(A) Singlethreaded

(B) Multithreaded

(C) Both of above

(D) None of above

Submitted By: Ali Uppal


JAR file contains the compressed version of_________________?

(A) .java file

(B) .jsp file

(C) .class file

(D) None of above

Submitted By: Ali Uppal


x=x+1 is equivalent to _________________?

(A) x++

(B) ++x

(C) x=x-1

(D) None of these

Submitted By: Ali Uppal


Which of the following below are valid isolation levels in J2EE ?

(A) TRANSACTION_READ_UNCOMMITTED

(B) TRANSACTION_SERIALIZABLE

(C) Only A

(D) Both A and B

Submitted By: Ali Uppal


Process of creating exact copy of the existing object is called_______________?

(A) overloading

(B) overriding

(C) cloning

(D) coping

Submitted By: Ali Uppal