摘要:
首先创建一个student类其中包括get,set与构造函数 /** * */ package work2; /** * @author Administrator * */ public final class Student { private String id; private int te 阅读全文
摘要:
在同一个包中的Player类 package work; public class Player { private String name; private int hp; private int attack; public Player(String name,int hp,int attac 阅读全文
摘要:
package atm_1; import java.awt.SystemTray;import java.nio.charset.CharsetEncoder;import java.util.Scanner; public class ATM { private static int passw 阅读全文