public interface Teleporter
Modifier and Type | Method and Description |
---|---|
String |
teleport(String dest)
Implementing classes implement this method by returning a string that
represents the
Martian teleporting to dest . |
String teleport(String dest)
Martian
teleporting to dest
.dest
- This is the destination for the teleportation and is used in the
string that this method returns.