浏览代码

Created Blackjack class

miscbits 6 年前
父节点
当前提交
918682495e
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17
    0
      src/main/java/io/zipcoder/casino/Blackjack.java

+ 17
- 0
src/main/java/io/zipcoder/casino/Blackjack.java 查看文件

@@ -0,0 +1,17 @@
1
+package io.zipcoder.casino;
2
+
3
+public class Blackjack {
4
+    String player;
5
+
6
+    public Blackjack(String player) {
7
+        this.player = player;
8
+    }
9
+
10
+    public String getPlayer() {
11
+        return player;
12
+    }
13
+
14
+    public void setPlayer(String player) {
15
+        this.player = player;
16
+    }
17
+}