摘要: 1、public class Month{ public static void main(String args[]){ for (int i = 1;i <= 12 ;i++ ) { if (i == 3 || i == 4 || i == 5) { System.out.println(i+" 阅读全文
posted @ 2020-10-11 15:42 蓝风c 阅读(1303) 评论(0) 推荐(0) 编辑
摘要: class Time{ private int years ; private int month; private int day; public int getYears(){ return years; } public void setYears(int years){ this.years 阅读全文
posted @ 2020-10-11 15:39 蓝风c 阅读(495) 评论(0) 推荐(0) 编辑