The second brace is the closing brace of the System.out.println() method call. I don't see any typing error in the code you provided - 3 opened and 3 closed braces, appropriately too. Does it give you any compiler error at the line of this statement?
On Wednesday, November 20, 2013 12:51 PM, Joseph John <[email protected]> wrote: Hi In LAB-1016 Java collection frame work , exercise 2.2 In think there is some typing mistake Please see the attached screen shot. the occurrence is just after for loop // Create a deck of cards for each player for (int i=0; i<numHands; i++) System.out.println("Cards for player #" + (i+1) + ": " + dealHand(deck, cardsPerHand)); two close brace is there, which is not needed thanks Joseph John -- 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. -- 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.
