JavaBeans: Difference between revisions

Content deleted Content added
JavaBean Example: - change "n" variable to "name" for good naming conventions
Line 11:
* The class should be [[Serialization#Java|serializable]] (able to persistently save and restore its state)
* It should have a no-argument constructor
* Its properties should be accessed using get, set and setis methods that follow a standard naming convention
* It should contain any required event-handling methods