Computer Programming MCQs

5739 MCQs  (Page 458 of 574)

pow () is associated with which class ?
A. Input stream class
B. Object class
C. Math class
D. None of above
Which method is used to perform DML statements in JDBC ?
A. Executeupdate()
B. Executequery()
C. Execute()
D. None of above
A package is a collection of__________________?
A. Classes and interfaces
B. Classes
C. Editing tools
D. Editing tools and interfaces
Interfaces helps in which type of inheritance ?
A. Multiple inheritance
B. Multilevel inheritance
C. Hierarchical inheritance
D. None of above
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
All collection classes are available in _________________?
A. Java.util package
B. Java.io package
C. Java.lang package
D. Java.awt package
Program which executes applet is known as________________?
A. Jvm
B. Virtual machine
C. Applet engine
D. None of above