Skip to content

Instantly share code, notes, and snippets.

@Happsson
Created September 17, 2014 12:20
Show Gist options
  • Save Happsson/bd0d338246346d854a92 to your computer and use it in GitHub Desktop.
Save Happsson/bd0d338246346d854a92 to your computer and use it in GitHub Desktop.
Card.java
package math;
public class Card {
String color;
int number;
public Card(String color, int number) {
this.color = color;
this.number = number;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public int getNumber() {
return number;
}
public void setNumber(int number) {
this.number = number;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment