Package edu.nwmissouri.animalList
Class StringRay
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.StringRay
Provides methods to create and run a group of StringRay.
- Author:
- Saikrishna Vuppala
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
confess()
double
getStringRayAddition
(double valueOne, int valueTwo) void
move()
abstract move() - has no implementationvoid
speak()
abstract speak() - has no implementationvoid
swim()
-
Constructor Details
-
StringRay
- Parameters:
name
-
-
-
Method Details
-
swim
public void swim() -
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 -
confess
public void confess() -
getStringRayAddition
public double getStringRayAddition(double valueOne, int valueTwo)
-