/*
Chapter 10:
The Animal Class
Programmer:
Brad Shedd
Date:
May 6, 2005
Program Name: Animal.java
Purpose:
To provide an abstract base class for animal class
*/
public
abstract
class Animal
{
String type;
public
Animal(String type)
{
this.type
=
new String(type);
}
public
abstract
void
describe();
public
abstract
void
sound();
public
abstract
void
sleep();
public
abstract
void
move();
}