Bean Internals  «Prev 

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.