Skip to content

Instantly share code, notes, and snippets.

@Integerous
Created October 3, 2018 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integerous/1b4654de4cf4f70de19c78a6b0df448d to your computer and use it in GitHub Desktop.
Save Integerous/1b4654de4cf4f70de19c78a6b0df448d to your computer and use it in GitHub Desktop.
interface PlayingCard {
public static final int SPADE = 4;
final int DIAMOND = 3; //public static final int DIAMOND = 3;
static int HEART = 2; //public static final int HEART = 2;
int CLOVER = 1; //public static final int CLOVER = 1;
public abstract String getCardNumber();
String getCardKind(); //public abstract String getCardKind();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment