previous
|
start
|
next
JavaBeans Components
For example, to get or set the time of a
Date
object,
must use
getTime
and
setTime
For a property with name
propertyName
and type
Type
,
public Type getPropertyName() public void setPropertyName(Type newValue)
Exception: the accessor of a
boolean
property can use an
is
prefix
public boolean isShopping()
previous
|
start
|
next