Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
public
class
Fish
extends
Animal
{
public
Fish
(
)
{
this
.
moveBehavior
=
new
SwimBehavior
(
)
;
}
@Override
public
void
display
(
)
{
System
.
out
.
println
(
"Fish"
)
;
}
}