Advanced Java MCQ
Advanced Java MCQ
Advanced Java MCQ
Advanced-java-mcq
By OnlineInterviewQuestions.com
Advanced Java MCQ
Q1. What are the major components of the JDBC Core Components?
A. java.awt.
B. java.swing
C. javax.swing
D. All of above
A. .sql
B. .ora
C. .hbm
D. .dbm
A. Initialization
B. Constructor function
C. Setup() method
D. Both a and b
A. hibernate.cg.xml
B. hibernate.cfg.xml
C. hibernate.config.xml
D. None of the above
A.
B.
C.
D.
A. Object-oriented
B. Architecture Neutral
C. Use of pointers
D. Dynamic
Q8. ____ is used to find and fix bugs in the Java programs.
A. JRE
B. JDK
C. JDB
D. JVM
A. Opera
B. HotJava
C. JDB
D. Internet Explorer
A. main
B. object
C. system
D. strictfp
A. Class
B. Vectors
C. Variable
D. None of the above
A. Void
B. Public
C. While
D. Switch
A. Colon
B. Comma
C. Semicolon
D. Full stop
Q14. Which one of the following languages is pure object oriented language?
A. C
B. C#
C. C++
D. Java
A. Public
B. Private
C. Protected
D. All of above
A. Multithreaded
B. Singlethreaded
C. Both A & B
D. None of the above
A. Weblogic
B. Web sphere
C. J2EE server
D. All of above
A. specific
B. neutral
C. oriented
D. abstract
A. xml
B. jpdl
C. jpdl.xml
Q21. Which of the following options shows the advantage of using the JDBC connection
pool?
A. Better performance
B. Slower performance
C. Using less memory
D. None of the above
Q22. Which of the following options shows the advantage of using the JDBC connection
pool?
A. Better performance
B. Slower performance
C. Using less memory
D. None of the above
A. 2
B. 3
C. 4
D. 5
A. Type 2 driver
B. Type 5 driver
C. Type 4 driver
D. Type 6 driver
A. TCP
B. FTP
C. SMTP
D. All of the above
A. get()
B. load()
C. getDatabase()
D. None of the above