Add java exam