JavaDeploy
SiteMap
Java Certification
Java Beans
Java-OO Concepts
Bean Internals
«Prev
Intro Javabeans
Javabeans Dev Kit
Installing Bean Kit
Dev Kit Components
Beanbox Test Container
Beanbox Design Time.
Beanbox Runtime
Bean Dev Kit Conclusion
JAR Files
Archive Jar Files
Javabeans Manifest File
Working with jar
Packaging jar Beans
testing-packaged-beans
jar Module Summary
Bean Internals
JavaBeans Structure
Bean Method Encapsulation
Bean Property State
JavaBean Types
Bean Accessor Methods
Getter Setter Methods
Defining Accessor Methods
Bean indexed Properties
indexed Property Accessor
bound Property Notification
Bound Properties Operation
BoundProperty Registration Methods
Javabeans Constrained Properties
Constrained Properties Functionality
Create JavaBean Properties
Using Javabean Properties
Javabean Structure Conclusion
JavaBeans Introspection
Peering Inside Javabean
Introspection Design Patterns
Design Pattern Types
Property Design Patterns
Simple Property Patterns
Indexed Property Patterns
Multicast Event Patterns
Unicast Event Design Patterns
Providing Javabean Information
Building Basic Javabean
Javabean Structure
Event Communication
Create JavaBeans Properties - Exercise
Creating and using Properties
Objective:
Write the code for a double property named weight, including its accessor methods.
Describe a few of the ways this property could be used, and why its accessor methods are so important.
Type your answer below and click the
Submit
button when done.