1.

What is a Java bean?

Answer»

A Java bean is a Java class that has the following three properties. 

(1) There are no public instance variables. 

(2) All persistent values are accessed using methods named getxxx and setxxx. 

(3) The bean class must either have no constructors or it must have one explicitly defined zero-argument constructor.



Discussion

No Comment Found

Related InterviewSolutions