On the class web page, at the following URL
http://rocky.wellesley.edu/cs230/code/hw01/Card.javayou will find a program named Card.java that creates a deck of playing cards and tests a few simple algorithms, like shuffling the deck, sorting the deck, and searching for a card in the deck (using a bisection search).
In this program, a deck is implemented as an array of Cards. For example, when we pass a ``deck'' as a parameter, the actual type of the parameter is Card.
In Chapter 5 of the textbook, I present an alternative representation for a deck, an object type named Deck that contains an array of cards as an instance variable.
You should read Chapter 5 and understand the difference between these two representations before proceeding.
It is probably a good idea to make this transformation one method at a time, and test the program after each change. On the other hand, if you are confident you know what you are doing, you can make most of the changes with search-and-replace commands.