Java Multiple choice questions and answers