last java class