Java concepts and its programming MCQs

80 MCQs  — Computer Programming MCQs  (Page 1 of 8)

Practice Java concepts and its programming MCQs with correct answers and explanations. These questions are from the Computer Programming MCQs section.

Java is a _______________language?
A. Moderate typed
B. Strogly typed
C. Weakly typed
D. None of these
Which class cannot be subclassed (or extended) in java ?
A. Final class
B. Abstract class
C. Parent class
D. None of above
Which statement is static and synchronized in JDBC API ?
A. Getconnection()
B. Executequery()
C. Preparecall()
D. Executeupdate()
Inheritance means ?
A. Sub class create object of super class
B. Sub class extends base class
C. Sub class extends super class
D. All of the above
Java intermediate code is known as_________________?
A. Byte code
B. First code
C. Mid code
D. None of above
What is jdb_________________?
A. Java disassemble
B. Java interpreter
C. Java compiler
D. Java debugger
In which we clone the object and their constituent parts_______________?
A. Deep cloning
B. Shallow cloning
C. Both of above
D. None of above
Which is the predefined package ?
A. Lang package
B. Util package
C. Io package
D. All of above