摘要:
import java.util.Scanner; /* 闰年:能整除4且不能整除100 能整除400 */ public class YearDemo{ public static void main(String[] args){ Scanner s = new Scanner(System.i 阅读全文
摘要:
//1.引入Scanner类 //2.创建Scanner类的对象 import java.util.Scanner; public class ScannerDemo{ public static void main(String[] args){ Scanner in = new Scanner( 阅读全文