摘要:
package com.lovo;import java.util.Calendar;/** * 时钟类 * */public class Clock { private int hour; // 时 private int minute; /... 阅读全文
摘要:
/* * 100元钱买小鸡 * 公鸡5一只,母鸡3元一只,小鸡一元3只 */public class Ccs { public static void main(String[] args) { for(int x = 0; x <= 20; x++){ for(int y = 0; y <= 3... 阅读全文
摘要:
package com.love;/** * Craps赌博游戏 * * */public class Test08 { public static int roll(){ return (int) (Math.random() * 6 + 1); } publi... 阅读全文
摘要:
public class Test01 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("请输入一个数"); int a = sc.nextInt();... 阅读全文
摘要:
public class hello{ pablic staic oid main(String[] args){ System.out.print("hello,world") }} 阅读全文