摘要: `import java.util.StringJoiner; public class Demo13{ public static void main(String[] args) { String[] names = {"Bob", "Alice", "Grace"}; //数组元素间用分隔符" 阅读全文
posted @ 2020-12-23 19:06 dog_IT 阅读(78) 评论(0) 推荐(0) 编辑
摘要: `import java.util.StringJoiner; public class Demo12{ public static void main(String[] args) { String[] names = {"Bob", "Alice", "Grace"}; //数组元素间用分隔符" 阅读全文
posted @ 2020-12-23 16:55 dog_IT 阅读(54) 评论(0) 推荐(0) 编辑
摘要: `public class Demo13 { public static void main(String[] args) { String[] fields = { "name", "position", "salary" }; String table = "employee"; String 阅读全文
posted @ 2020-12-23 14:31 dog_IT 阅读(81) 评论(0) 推荐(0) 编辑
摘要: `public class Demo12 { public static void main(String[] args) { String[] fields = { "name", "position", "salary" }; String table = "employee"; String 阅读全文
posted @ 2020-12-23 14:26 dog_IT 阅读(105) 评论(0) 推荐(0) 编辑
摘要: `import java.util.*; public class Demo11{ public static void main(String[] args){ String s1 = "hello"; String s2 = "hELLO".toLowerCase(); String s3 = 阅读全文
posted @ 2020-12-23 13:50 dog_IT 阅读(95) 评论(0) 推荐(0) 编辑