Created
November 3, 2015 23:59
-
-
Save Michael0x2a/8b7c241e89ace44e0e2f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Michael Lee | |
// Section AP | |
// Tuesday, April 14, 2015 | |
// Sample program: Deck.java | |
import java.util.List; | |
interface Deck { | |
public int size(); | |
public boolean isEmpty(); | |
public String dealCard(); | |
public Deck dealCards(int amount); | |
public void addCard(String card); | |
public void mergeDeck(Deck other); | |
public void shuffle(); | |
public List<String> toList(); | |
public String toString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment