PPT Slide
public void setHeight (int iNewHeight) {
util.ASSERT (iNewHeight > 0, “iNewHeight <= 0”);
public int getWidth ( ) {
public int getHeight ( ) {
public int getVolume ( ) {
getWidth( ) * getHeight( ) );
How to model a box? (Java example cont’d)
Evolution of an Object (cont’d)