I feel that I'm capable of much more 'wowing' I'm afraid!
Although if you haven't read until the end you should say otherwise I'm going to get even more confused than I already am with things.
Type: Posts; User: Scren
I feel that I'm capable of much more 'wowing' I'm afraid!
Although if you haven't read until the end you should say otherwise I'm going to get even more confused than I already am with things.
dropped the constructor because i had made the setters, but I guess I should have dropped the setters and used the constructor... .
Yeah we (I) haven't really done much validation, although...
Ah yeah you're right, I've changed it about a bit:
public class CardClass {
private static final String[] suitArray = { "Hearts", "Diamonds", "Clubs",
"Spades" };
private static...
This is what I just made posted, double posted then deleted :
public class Cards {
private String suit;
private String rank;
public String cardSuit(String suit){
I think (hope?!) some of that would be a bit beyond the scope of this particular exercise.... They haven't asked anything remotely like this so far and to ask a whole functioning programme seem's...
Oh OK, I thought It was better to have everything as separate as possible for some reason, probably read something about databases!
Card - Suit, rank
Deck - amount of cards
hand - cards that...
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...