Java Interview code interview questions and answers