OK so I'm trying to do this make a card exercise from the Oracle tutorial and I'm just trying to work out how it should be written out, this is what I'm thinking :
Basically I need to have a class for the suit, a class for the rank of the card and a main method. So that's three classes.
I then need to create an array for the values of the rank within the rank class, and an array for the suits in the suits class. Each of these arrays need to have methods that can can call them (not sure how to do this at the moment) There also needs to be a return value for anything that isn't in the array, like validation ("Sorry incorrect value" or something along those lines)
The two (array) types would be strings
Is this sounding right?
The example mentions using the assert statement, but I haven't used this before.
Cheers.