Interface Predator<T extends Animal>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidattack(T animal)
-
-
-
Method Detail
-
attack
void attack(T animal)
-
-
| Modifier and Type | Method | Description |
|---|---|---|
void |
attack(T animal) |
void attack(T animal)