A Simple Example
Define and retrieve properties using set and get methods
Example Property: textString
public String getTextString() {
return text;
}
public void setTextString(String newtext) {
text = newtext;
}
Previous slide
Next slide
Back to first slide
View graphic version