[java programming] LAB-1016:Java Collections Frameworks - Exercise 2.2

2009-02-14 Thread Cap'n Kirk
All, In the following code snippet, why is it necessary to create a new String[]? // Make a normal 52-card deck String[] suit = new String[] {"spades", "hearts", "diamonds", "clubs"}; String[] rank = new String[] {"ace","2","3","4","5","6","7","8","9","10","jack","queen

[java programming] Lab-1016 Java Collections Frameworks

2008-10-16 Thread dzgaga
(3.1) Build and run a simple application that uses HashMap Part 4 of this segment suggests for your own excercise, please do the following ... and then asks to "Display them in both unsorted and sorted order" The best solution to displaying them in sorted order I could come up with is listed bel