JAVA- How to program Early Objects