Java
Programming and Technical
What is the difference between java
class and bean?
Read Solution (Total 1)
-
- JavaBeans are classes that encapsulate many objects into a single object (the bean). They are serializable, have a zero-argument constructor, and allow access to properties using getter and setter methods.
A class is nothing but a blueprint or a template for creating different objects which defines its properties and behaviors. Java class objects exhibit the properties and behaviors defined by its class. A class can contain fields and methods to describe the behavior of an object. - 7 years agoHelpfull: Yes(0) No(0)
Java Other Question