implemented to String method

This commit is contained in:
Johannes Schmelz 2024-05-12 14:50:36 +02:00
parent 1605bd921a
commit 196ed3ec0f
2 changed files with 16 additions and 2 deletions

Binary file not shown.

View File

@ -28,7 +28,21 @@ public enum Suit {
*/ */
@Override @Override
public String toString() { public String toString() {
//TODO implement switch (this) {
return super.toString(); case HEARTS:
return "";
case DIAMONDS:
return "";
case CLUBS:
return "";
case SPADES:
return "";
default:
return "";
}
} }
} }