Guest User

Untitled

a guest
Aug 21st, 2019
73
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Card
  2. {
  3. private final String value;
  4. private final String color;
  5.  
  6.  
  7. public Card(String value, String color)
  8. {
  9. this.value = value;
  10. this.color = color;
  11. }
  12. public String toString()
  13. {
  14. return value + " of " + color;
  15. }
  16.  
  17. }
RAW Paste Data