A B D F G H M N O P R S T W

A

Animal - class Animal.
An abstract class for animals
Animal(String, double, String, String) - Constructor for class Animal
Creates an awake animal with a specific name, weight, favorite food, and method of locomotion.

B

Bird - class Bird.
An abstract class for birds
Bird(String, double, String) - Constructor for class Bird
Creates an awake bird with a specific name, weight, and favorite food, that gets around by flying.
Bird(String, double, String, String) - Constructor for class Bird
Creates an awake bird with a specific name, weight, and favorite food, that gets around by a specific method.

D

Dog - class Dog.
A class for dogs.
Dog(String) - Constructor for class Dog
Creates a dog.

F

feed() - Method in class Animal
Feeds the animal.

G

getName() - Method in class Animal
Gets the animal's name.
getNoise() - Method in class Dog
Gets the noise made by a dog.
getNoise() - Method in class Human
Gets the noise made by a human.
getNoise() - Method in interface Noisy
Gets the noise made by this animal.
getNoise() - Method in class Robin
Gets the noise made by a robin.
getWeight() - Method in class Animal
Gets the animal's weight.

H

Human - class Human.
A class for humans.
Human(String) - Constructor for class Human
Creates a human.

M

main(String[]) - Static method in class Test
 
Mammal - class Mammal.
An abstract class for mammals.
Mammal(String, double, String, int) - Constructor for class Mammal
Creates an awake mammal with a specific name, weight, favorite food, and number of legs;

N

Noisy - interface Noisy.
An interface for an animal that makes noise

O

Ostrich - class Ostrich.
A class for ostriches.
Ostrich(String) - Constructor for class Ostrich
Creates a ostrich.

P

poke() - Method in class Animal
Pokes the animal, causing it to make noise if it can.
poke() - Method in class Mammal
Pokes the mammal, causing it to make a noise.
poke() - Method in class Ostrich
Pokes the ostrich, which results in no noise.
poke() - Method in class Robin
Pokes the robin, causing it to make a noise.
poop() - Method in class Animal
Lets the animal poop.

R

Robin - class Robin.
A class for robins.
Robin(String) - Constructor for class Robin
Creates a robin.

S

sleep() - Method in class Animal
Makes the animal go to sleep.

T

Test - class Test.
 
Test() - Constructor for class Test
 
toString() - Method in class Animal
Returns a string representation of the animal.
toString() - Method in class Mammal
Returns a string representation of the mammal.
toString() - Method in class Robin
Returns a string representation of the robin.

W

wakeup() - Method in class Animal
Makes the animal wake up.

A B D F G H M N O P R S T W