JAVA- How to Program Early Objects