Search
.Management Sciences
Category: Java concepts and its programming
Which of the following command is used to compile the Java program ?
A. java
B. javac
C. javap
D. none of these
Which collection class associates values witch keys, and orders the keys according to their natural order ?
A. java.util.LinkedList
B. java.util.TreeMap
C. java.util.SortedSet
D. java.util.HashSet
Thread class is available in________________?
A. java.lang package
B. java.util package
C. java.awt package
D. java.io package
Java intermediate code is known as_________________?
A. Byte code
B. First code
C. Mid code
D. None of above
Which driver is called as thin-driver in JDBC ?
A. Type-1 driver
B. Type-2 driver
C. Type-3 driver
D. Type-4 driver
Converting a primitive type data into its corresponding wrapper class object instance is called ________________?
A. boxing
B. wrapping
C. autoboxing
D. instantiation
Automatic type conversion in Java takes place when________________?
A. Two type are compatible and size of destination type is equal of source type.
B. Two type are compatible and size of destination type is larger than source type.
C. Two type are compatible and size of destination type is shorter than source type.
D. All of the above
The class java.sql.Timestamp is associated with _____________?
A. java.util.Date
B. java.util.Time
C. java.sql.Time
D. None of above
Interfaces helps in which type of inheritance ?
A. Multiple inheritance
B. Multilevel inheritance
C. Hierarchical inheritance
D. None of above
Recent Comments