Java developer interview quiz solving program written by me