The code doesn't necessarily do anything on its own, but it's good practice for use in another, bigger piece of code in the future. It always takes me a while to decide what to code when I get a hankering, and I figured that trying to generate a 52-card deck with no repetitions and letting the user have a look-see would be tricky enough. Took me a bit, but now it's done.
Hope you enjoy either making random cards, reading through the code, or ignoring it and having a wonderful day! If you have suggestions for things to code, please let me know! I've got an interest in coding, but not nearly enough ideas. See you tomorrow at eight AM for more!
![](http://www.weebly.com/weebly/images/file_icons/java.png)
CardDeck.java |