Search
.Management Sciences
Category: Java concepts and its programming
How many transaction isolation levels are defined in java.sql.Connection interface ?
0
A. 6
B. 2
C. 5
D. 3
Which among following classes is not part of Java’s collection framework ?
A. Stack
B. Maps
C. Queue
D. Array
Which command is used for interpretation of java program_______________?
A. Java
B. javap
C. javac
D. none of above
Size of float and double in Java is________________?
A. 32 and 64
B. 64 and 64
C. 32 and 32
D. 64 and 32
Choose the correct statement public class Circle{ private double radius; public Circle(double radius){ radius = radius; } } ?
A. The program has a compilation error because we cannot assign radius to radius.
B. The program has a compilation error because it does not have a main method.
C. The program does not compile because Circle does not have a default constructor.
D. The program will compile, but we cannot create an object of Circle with a specified radius. The object will always have radius 0.
After the compilation of the java source code, which file is created by the JVM ?
A. .class
B. .doc
C. .java
D. .cdr
pow () is associated with which class ?
A. Input stream class
B. Object class
C. Math class
D. None of above
Suspend thread can be revived by using ?
A. yield() method
B. Suspend() method
C. start() method
D. resume() method
Recent Comments