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
Javabeans Accessor Methods - Exercise
Objective:
Write the definitions of a pair of accessor methods for a Bean property of type
float
named
score
.
What would you need to do to make the score property read-only?
Type your answer below and click the
Submit
button when you are finished.