for (int i=0; i<numHands; i++) {
            System.out.println("Cards for player #" + (i+1) + ": " + 
dealHand(deck, 
cardsPerHand));    
        }
    
            public static List dealHand(List deck, int n) {

should be

for (int i = 0; i < numHands; i++) {
            System.out.println("Cards for player #" + (i + 1) + ": " + 
dealHand(deck, cardsPerHand));
        }
*    }*

    public static List dealHand(List deck, int n) {

-- 
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to