Java%20Beans%20Interview%20Questions%20and%20Answers
Question: What are the properties of java beans?Answer: The JavaBeans specification defines the following types of bean properties:► Simple: A bean property with a single value whose changes are independent of changes in any other property. ► Indexed: A bean property that supports a range of values instead of a single value. ► Bound: A bean property for which a change to the property results in a notification being sent to some other bean. ► Constrained: A bean property for which a change to the property results in validation by another bean. The other bean may reject the change if it is not appropriate. Bean properties can also be classified as follows: ► Writable: A bean property that can be changed: ► ► Standard ► ► Expert ► ► Preferred ► Read Only: A bean property that cannot be changed. ► Hidden: A bean property that can be changed. However, these properties are not disclosed with the BeanInfo class |
Is it helpful?
Yes
No
Most helpful rated by users:
- What are Java Beans?
- Why do I get a NullPointerException when loading a JAR file into the BeanBox?
- What is bean persistance property?
- What are externizable interface?
- What are the purpose of introspection?