public class Asp
extends Animal 
Asp class (derived subclass of the superclass Animal)
- Author:
 
- Priyanka Maruthi
 
- 
 
- 
Constructor Summary
Constructors
 
- 
Method Summary
void
abstract move() - has no implementation
 
void
abstract speak() - has no implementation
 
 
 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
 
- 
Constructor Details
- 
Asp
Aardvark constructor
- Parameters:
 
name - - the name of this aardvark 
 
 
- 
Method Details
- 
speak
public void speak()
Description copied from class: Animal 
abstract speak() - has no implementation
- Specified by:
 
speak in class Animal 
 
- 
move
public void move()
Description copied from class: Animal 
abstract move() - has no implementation
- Specified by:
 
move in class Animal