-->

Thursday, June 4, 2015

Java Beans: Short Version

A java bean is simply a convention for a class. For a class to be considered a bean, it must simply possess:
  • A default constructor
  • Getter and Setter Methods
  • Implements the Serializable interface, so it can its states be saved, streamed, and passed to other applications
That is all. For more details, see here.


~CodeCrunchCorner~

No comments:

Post a Comment