1. What is a JavaBean in Java? A. A reusable software component that follows specific conventions B. A type of coffee bean C. A Java class used for file I/O D. A Java keyword Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
2. Which file extension is commonly used for JavaBean files? A. `.bean` B. `.jar` C. `.class` D. `.java` Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
3. In JavaBeans, what is the purpose of the getter method? A. To set the value of a property B. To create a new instance of a bean C. To retrieve the value of a property D. To execute a SQL query Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
4. What is the role of the `javabeans.Introspector` class in JavaBeans? A. It represents a JavaBean interface B. It allows you to examine the properties, events, and methods of a bean C. It handles database connections D. None of These Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
5. Which of the following is a valid property name for a JavaBean? A. `@property` B. `customerName` C. `user_name` D. `123property` Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
6. What is JDBC in Java? A. Java Data Binding and Conversion B. Java Development Kit for Beans C. Java Design for Concurrent programming D. Java Database Connectivity, a Java API for database access Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
7. Which Java package contains the JDBC classes and interfaces? A. `java.sql` B. `java.beans` C. `java.jdbc` D. `java.db` Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
8. What is the purpose of the JDBC `DriverManager` class? A. To manage JavaBeans properties B. To manage event handling in Java C. To manage the JavaBean lifecycle D. To manage a list of database drivers Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
9. What does the JDBC `Connection` interface represent? A. A connection to the internet B. A connection to a remote server C. A connection to a database D. A connection to a JavaBean Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
10. Which of the following is NOT a valid JDBC driver type? A. `Type 3` B. `Type 1` C. `Type 4` D. None of These Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board