Remember to write readable, clean code with object oriented principles. The goal of this challenge is to practice Java OOP concepts while maintaining simplicity.
Beware of over engineering. The hardest thing is to find balance.
Create command line Java application Quiz.
Lifecycle of application:
- Start application.
- Greet player in console and describe your quiz.
- Print out first question. Don’t forget to include which kind of question it is.
- Print possible answers.
- Scan input.
- Repeat 3.-5. until last question.
- Print out how many answers were correct.
- End program
Constraints:
- There has to be at least two types of questions - e.g. single choice, multiple choice, open answer.
- Each question has at least two answers to choose from (max 5).
- Collect user points and print them after quiz ends.
- Quiz has to have at least 3 questions.