随笔都是学习笔记
随笔仅供参考,为避免笔记中可能出现的错误误导他人,请勿转载。
摘要: package Demo_1_22_String; import java.util.Locale; public class StringConcat { public static void main(String[] args) { String strA = "www.sss.cn"; St 阅读全文
posted @ 2022-01-22 14:54 时间完全不够用啊 阅读(54) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class StringFormat { public static void main(String[] args) { String name = "张三"; int age = 19; double score = 98.212 阅读全文
posted @ 2022-01-22 14:48 时间完全不够用啊 阅读(85) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class StringCut { public static void main(String[] args) { String str = "www.ccc.com"; // String user = "用户ID-photo-姓 阅读全文
posted @ 2022-01-22 14:36 时间完全不够用啊 阅读(112) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class StringSplit { public static void main(String[] args) { String str = "www ccc com"; // 全部拆分 String result[] = st 阅读全文
posted @ 2022-01-22 14:17 时间完全不够用啊 阅读(78) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class StringReplace { public static void main(String[] args) { String str = "www.ccc.com"; System.out.println(str.rep 阅读全文
posted @ 2022-01-22 14:07 时间完全不够用啊 阅读(183) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class StringFind { public static void main(String[] args) { String str = "www.ccc.com"; String str1 = "**@@www.ccc.co 阅读全文
posted @ 2022-01-22 14:02 时间完全不够用啊 阅读(664) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class StringCompare { public static void main(String[] args) { String strA = "a"; String strB = "A"; System.out.print 阅读全文
posted @ 2022-01-22 13:49 时间完全不够用啊 阅读(243) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class String_byte { public static void main(String[] args) { String str = "www.baidu.com"; byte [] bytes = str.getByt 阅读全文
posted @ 2022-01-22 13:42 时间完全不够用啊 阅读(122) 评论(0) 推荐(0) 编辑
摘要: package Demo_1_22_String; public class StringDemo { public static void main(String[] args) { String str = "www.baidu.com"; char c = str.charAt(4); // 阅读全文
posted @ 2022-01-22 13:35 时间完全不够用啊 阅读(78) 评论(0) 推荐(0) 编辑