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