I have 1 coupon class and 1 Coupon Register class that contains an array-list of coupons.
1 constructor that is something like this:
public Coupon (CouponRegister couponReg)
{
this.couponReg=couponReg;
couponReg.addCoupon(THIS##COUPON) <<< This is what I want to do, but HOW??
}
I want to add this instance of Coupon to the Array List in CouponRegister when the instance of Coupon is created, but how??