5 Star 1 Fork 1

20172328李馨雨/五小福团队---UNO项目团队作业

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Men.java 874 Bytes
一键复制 编辑 原始数据 按行查看 历史
20172329王文彬 提交于 2018-11-30 18:07 +08:00 . uno
package uno;
import java.util.Arrays;
public class Men {
protected String name;
protected Card[] card;
protected int num;
public Men(String name, Card[] card, int num) {
this.name = name;
this.card = card;
this.num = num;
}
public String getName() {
return name;
}
public Card[] getCard() {
return card;
}
public int getNum() {
return num;
}
public void setName(String name) {
this.name = name;
}
public void setCard(Card[] card) {
this.card = card;
}
public void setNum(int num) {
this.num = num;
}
@Override
public String toString() {
return "Men{" +
"name='" + name + '\'' +
", card=" + Arrays.toString(card) +
", num=" + num +
'}';
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lxy20172328/AppProject.git
git@gitee.com:lxy20172328/AppProject.git
lxy20172328
AppProject
五小福团队---UNO项目团队作业
master

搜索帮助