581. Which among following classes is not part of Java’s collection framework ?
A. Stack
B. Maps
C. Queue
D. Array

582. Executable applet is_________________?
A. .class file
B. .java file
C. .java html
D. .applet file

583. String is the predefined ?
A. Object
B. Variable
C. Class
D. Method

584. All raw data types should be read and uploaded to the database as an array of________________?
A. int
B. byte
C. char
D. bollean

585. The following fraction of code double STATIC = 2.5 ; System.out.println( STATIC ); ?
A. Prints 2.5
B. Raises an exception
C. Raises an error as STATIC is used as a variable which is a keyword
D. None of these

586. Which statements are most accurate regarding the following classes? class A{private int i; protected int j; } class B extends A{ private int k; protected int m; } ?
A. An object of B contains data fields j, k, m
B. An object of B contains data fields k, m
C. An object of B contains data fields j, m
D. An object of B contains data fields i, j, k, m

587. _________ allows java code to run in the JVM to call and be called by native applications ?
A. JNI
B. FJI
C. NJI
D. JFI

588. pow () is associated with which class ?
A. Input stream class
B. Object class
C. Math class
D. None of above

589. Which method is used to perform DML statements in JDBC ?
A. executeUpdate()
B. executeQuery()
C. execute()
D. None of above

590. A package is a collection of__________________?
A. Classes and Interfaces
B. Classes
C. Editing tools
D. Editing tools and Interfaces

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