📄 player.java
字号:
import java.io.*;
/**
* Title:
* Description:
* Copyright: Copyright (c) 2003
* Company:
* @author
* @version 1.0
*/
////选手即比赛者类
public class Player implements Serializable
{
public String name;//选手名称
public int age;//年龄
public String address;//住址
public String phonenumber;//电话号码
public String no;//选手代号
public String depiction;//选手个人简历
public Player(String no,String name,int age,String address,String phonenumber,String depiction)
{
this.no=no;
this.name=name;
this.age=age;
this.address=address;
this.phonenumber=phonenumber;
this.depiction=depiction;
}
public Player(String no,String name,int age)
{
this(no,name,age,"","","");
}
public Player(String no,String name)
{
this(no,name,20);
}
public Player(String no)
{
this(no,"");
}
public Player()
{
this("");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -