561. Thread class is available in________________?
A. java.lang package
B. java.util package
C. java.awt package
D. java.io package

562. Which type of inheritance is not supported by java_____________?
A. Single
B. Mulilevel
C. Hirarchical
D. Multiple

563. Which command is used for interpretation of java program_______________?
A. Java
B. javap
C. javac
D. none of above

564. Java is known as ___________ stage language?
A. 1
B. 2
C. 3
D. 4

566. Smallest individual unit in java program is known as____________________?
A. token
B. string
C. literal
D. operator

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

568. Which of the following statements about arrays is syntactically wrong ?
A. arrayName[] p = new arrayName[5];
B. arrayName p[][] = new arrayName[2][];
C. arrayName[] p [];
D. arrayName p[5];

569. The class java.sql.Timestamp is associated with _____________?
A. java.util.Date
B. java.util.Time
C. java.sql.Time
D. None of above

570. Super is the predefined_______________?
A. Method
B. Keyword
C. Keyword and Method
D. None of above

NOTE
IF YOU THINK ANY OF THE MCQ ABOVE IS WRONG.
PLEASE COMMENT WITH CORRECT ANSWER AND ITS DETAIL EXPLANATION IN COMMENT BOX.
THANK YOU

This Post Has One Comment

Leave a Reply