摘要:
public class zitest { public static void main(String[] args) { int c,a=10,b=20,x=30,y=40; c=a++; System.out.println("初始值a=10,b=20"); System.out.println(... 阅读全文
posted @ 2014-04-26 10:40
时间淡无痕
阅读(167)
评论(0)
推荐(0)
摘要:
public class Logic { public static void main(String[] args) { boolean a,b,c; a=true; b=false; System.out.println("逻辑运算,其中a=TRUE,b=FALSE"); ... 阅读全文
posted @ 2014-04-26 10:13
时间淡无痕
阅读(138)
评论(0)
推荐(0)
摘要:
代码中使用1表示闰年,0表示不是闰年 public class leap_years { public static void main(String[] args) { int year = Integer.parseInt(args[ 0]); int leap; if(year%4==0) ... 阅读全文
posted @ 2014-04-26 10:10
时间淡无痕
阅读(241)
评论(0)
推荐(0)

浙公网安备 33010602011771号