Package edu.nwmissouri.animalList
Class Bearcat
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Bearcat
CREATING BEARCAT CLASS EXTENDING THE ANIMAL CLASS
- Author:
- Pavan Kumar Atmakuri
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Bearcat
-
-
Method Details
-
move
public void move()Description copied from class:Animal
abstract move() - has no implementation -
speak
public void speak()Description copied from class:Animal
abstract speak() - has no implementation -
breed
public void breed() -
cal
public void cal() -
discount
public double discount(int a, double p)
-