Archive | J2EE

Java Bean Example

May 13th, 2011No Comments

what is a java bean?

A Java class  with the following restrictions is called as JAVA BEAN.

1) All the data fields must be private.

2) It must have default constructor.

3) For each data fields “get” and “set” methods must be available.
(more…)

VN:F [1.9.10_1130]
Rating: 9.3/10 (6 votes cast)
VN:F [1.9.10_1130]
Rating: +7 (from 7 votes)