2020年3月26日

摘要: 1.输入一个年份,判断是不是闰年(能被4整除但不能被100整除,或者能被400整除) import java.util.Scanner; public class first { public static void main(String[] args) { System.out.println( 阅读全文
posted @ 2020-03-26 10:41 s2mple- 阅读(119) 评论(0) 推荐(0) 编辑

2020年3月19日

摘要: public class java0001 { public static void main(String[] args) { int a = 100; int b = 200; int tmp; //进行数据交换 tmp = a; a = b; b = tmp; System.out.print 阅读全文
posted @ 2020-03-19 12:16 s2mple- 阅读(255) 评论(0) 推荐(0) 编辑

2020年3月7日

摘要: package hsy; public class HHHsy { public static void main(String[] args) { // TODO Auto-generated method stub //printf("你好"); System.out.println("hell 阅读全文
posted @ 2020-03-07 11:08 s2mple- 阅读(172) 评论(1) 推荐(0) 编辑