摘要: 1.输入一个年份,判断是不是闰年(能被4整除但不能被100整除,或者能被400整除) package com.a01; import java.util.*; public class hellowold { public static void main(String[] args) { Scan 阅读全文
posted @ 2020-03-24 21:03 hhhhhq 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1.已知a,b均是整型变量,写出将a,b两个变量中的值互换的程序。(知识点:变量和 运算符综合应用) package com.a01; public class hellowold { public static void main(String[] args) { int a=1,b=2,c; c 阅读全文
posted @ 2020-03-19 12:19 hhhhhq 阅读(188) 评论(0) 推荐(0) 编辑
摘要: package com.a01; public class hellowold { public static void main(String[] args) { System.out.println("hellowold"); }} 阅读全文
posted @ 2020-03-13 15:44 hhhhhq 阅读(67) 评论(0) 推荐(0) 编辑