Which design pattern suggests multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
A. Singleton pattern
B. Chain of responsibility pattern
C. State pattern
D. Bridge pattern
Answer: Option B
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
Which file extension is commonly used for JavaBean files?
A. `.bean`
B. `.jar`
C. `.class`
D. `.java`
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
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

Join The Discussion