构造方法, (无参、有参) public Hero() { super(); } public Hero(String name,String[] skill,int[] skillHurts,double hp) { super(); this.name = name; this.skill = skill; this.skillHurts = skillHurts; this.hp = hp; }