Quiz created using Java.