摘要: //方法类,用于操作数据: 1 package DateFormatClass; 2 3 import java.text.ParseException; 4 import java.text.SimpleDateFormat; 5 import java.util.*; 6 7 public cl 阅读全文
posted @ 2021-06-08 20:53 白杨树& 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1 public class Demo01 { 2 /** 3 * 1.编写一个方法,将一段文本中的各个单词的字母顺序翻转, 4 * 例如:"I like writing code best",将变成"I ekil gnitirw edoc tseb"。 5 * @param args 6 */ 7 阅读全文
posted @ 2021-06-08 14:27 白杨树& 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1.类集可以称为是Java对数据结构的充分实现 2.类集的分类:Collection Map Iterator 是最大的接口 3.Collection是单值集合,她又被细分为两个接口list 和 set。 4.Collection中常见的方法: 1 public static void main(S 阅读全文
posted @ 2021-06-08 14:21 白杨树& 阅读(83) 评论(0) 推荐(0) 编辑