Java application that simulates a multiple-choice test