Object Oriented Programming Java Exercises Array Formula