摘要:
/** * 时钟 * */public class Clock { private int hour; private int minute; private int second; public Clock() { Calendar cal = Calendar.getInstance(); ... 阅读全文
摘要:
public class CrapsGame { public static int roll() { return (int) (Math.random() * 6 + 1); } public static void main(String[] args) { Scanner sc = ne... 阅读全文