Which method is used to perform DML statements in JDBC ?
(A) executeUpdate()
(B) executeQuery()
(C) execute()
(D) None of above
pow () is associated with which class ?
(A) Input stream class
(B) Object class
(C) Math class
(D) None of above
_________ allows java code to run in the JVM to call and be called by native applications ?
(A) JNI
(B) FJI
(C) NJI
(D) JFI
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
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
All raw data types should be read and uploaded to the database as an array of________________?
(A) int
(B) byte
(C) char
(D) bollean
Executable applet is_________________?
(A) .class file
(B) .java file
(C) .java html
(D) .applet file
Which among following classes is not part of Java’s collection framework ?
(A) Stack
(B) Maps
(C) Queue
(D) Array
Why we use array as a parameter of main method_________________?
(A) Can store multiple values
(B) It is syntax
(C) Both of above
(D) None of above