public class ReverseWordPuzzle extends AbstractWordPuzzle
"forward"
then the puzzle word is "drawrof"
.Constructor and Description |
---|
ReverseWordPuzzle(String word)
Create a reverse word puzzle given the solution word.
|
Modifier and Type | Method and Description |
---|---|
String |
getPuzzleWord()
Get the puzzle word.
|
getWord, toString
public ReverseWordPuzzle(String word)
word
- the solution wordpublic String getPuzzleWord()
getPuzzleWord
in class AbstractWordPuzzle
AbstractWordPuzzle.getPuzzleWord()