334 Defining Classes and Methods It will have the following methods: makeGuess(c
ID: 3718831 • Letter: 3
Question
334 Defining Classes and Methods It will have the following methods: makeGuess(c) guesses that character c is in the word. . getDisguisedword returns a string contain ing correctly guessed letter correct positions and unknown letters replaced with? . getSecretword returns the secret word. . getGuessCount returns the number of guesses made. . isFound returns true if the hidden word has been discovered. a. Write a method heading for each method. b. Write preconditions and postconditions for each method. c. Write some Java statements that test the class. d. Implement the class. e. List any additional methods and attributes needed in the implementation that were not listed in the original design. List any other changes made to the original design Write a program that implements the game of hangman using the class you wrlie for Part d. f. 9. Consider a class Basketbal1Game that renresento th n hookethall game. ltExplanation / Answer
http://www.daniweb.com/software-development/java/code/267048/hangman-source-code-javahttp://www.daniweb.com/software-development/java/code/267048/hangman-source-code-java
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.