Even Top Guns make mistakes. Added some functionality to java course object.