Package com.jguice.quizzle.interfaces

Examples of com.jguice.quizzle.interfaces.Question.checkAnswer()


                numQuestionsLeft = quiz.getNumQuestions() - numQuestionsSoFar;
                question.doPrompt();

                userInput = br.readLine();

                if (question.checkAnswer(userInput)) {
                    doCorrectAction();
                    numCorrect++;
                }
                else {
                    doIncorrectAction();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.