Developer's Daily Java Education - Test Projects
  front page | java | perl | unix | DevDirectory
   
Front Page
Java
Education
   
 


public abstract class Animal
{
  protected boolean hasColdNose;

  public abstract String speak();

  public void setHasWetNose(boolean hasColdNose) {
    this.hasColdNose = hasColdNose;
  }
  public boolean hasColdNose() {
    return hasColdNose;
  }
}
Copyright 1998-2003 DevDaily Interactive, Inc.
All Rights Reserved.