Doing sample exercises in beginner's book based on java 7 to fortify my java foundations