// // MoneyType.java // // Goal: define a user-defined money type class // public class MoneyType { private int dollars; private int cents; public void Initialize(int d, int c) { dollars = d; cents = c; } public int getDollars() { return dollars; } public int getCents() { return cents; } }