Java Objective Questions Answers -Chapter 1
-
8. Which method is used to perform DML statements in
JDBC- execute()
- executeUpdate()
- executeQuery()
- None of above
Answer And Explanation
Answer: Option B
Explanation:
-
9. Which of the following below are valid isolation levels in J2EE
- TRANSACTION_READ_UNCOMMITTED
- TRANSACTION_SERIALIZABLE
- Only A
- Both A and B
Answer And Explanation
Answer: Option D
Explanation:
-
10. Session beans are created by the client submitting the query to the database
- True
- False
Answer And Explanation
Answer: Option A
Explanation:
-
11. Which metrhods are utilized to control the access to an object in multi threaded programming
- Asynchronized methods
- Synchronized methods
- Serialized methods
- None of above
Answer And Explanation
Answer: Option B
Explanation:
-
12. In Runnable, many threads share the same object instance
- True
- False
Answer And Explanation
Answer: Option A
Explanation:
-
14. Program which executes applet is known as
- applet engine
- virtual machine
- JVM
- None of above
Answer And Explanation
Answer: Option A
Explanation: