摘要: package DEMO01; import java.text.SimpleDateFormat; import java.util.Date; public class Demo5 { public static void main(String[] args) { while (true){ Date date = new Date(); SimpleDateFormat sdf = new 阅读全文
posted @ 2019-08-11 21:30 HxTZzz 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-11 21:12 HxTZzz 阅读(68) 评论(0) 推荐(0) 编辑
摘要: package DEMO01; import java.util.Scanner; public class Demo2 { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { System.out.println("输入字符串"); String str=sc.next(); S 阅读全文
posted @ 2019-08-11 20:54 HxTZzz 阅读(90) 评论(0) 推荐(0) 编辑
摘要: package DEMO01; import java.util.Scanner; public class Demo1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入一句话,如果包含wqnmlgb,ndy,dsb等字符,将会被和谐"); 阅读全文
posted @ 2019-08-11 20:44 HxTZzz 阅读(128) 评论(0) 推荐(0) 编辑