So i was told to create a credit card class and include the date class in it. I have a tester program to check through my created class. The only test i have failing is test 11. It says that getDateAccountOpened changes date that account was opened. Not to sure about what is going on. A little guidence would be awesome. i will attach the program and test program.
You need to look into what happens when you get to the line
Hint: It's very clear when you look at the documentation.
You probably need to look into the Calendar class (it's abstract) unless you want to save date as milliseconds since the epoch. While it does have it advantages in many situations absolute dates might be easier to understand than relative values.