public DMVExam() {
char[] solution =

You should follow Norm's advice as it explains how to track down your problems in the future without relying on others. However I have given you a hint.