Which file extension is commonly used for JavaBean files?
A. `.bean`
B. `.jar`
C. `.class`
D. `.java`
Answer: Option D
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. It represents a JavaBean interface
Join The Discussion