摘要: 1. 编写一个程序,将下面的一段文本中的各个单词的字母顺序翻转, "To be or not to be",将变成"oT eb ro ton ot eb."。 import java.util.Arrays; public class Test08 { public static void main 阅读全文
posted @ 2020-05-08 18:51 娜梓 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 有一个字符串“101,87,88,87,98”对数字由小到大排序。 import java.util.Arrays; public class Demo01 { public static void main(String[] args) { String spa = "101,87,88,87,9 阅读全文
posted @ 2020-05-08 17:14 娜梓 阅读(362) 评论(0) 推荐(0) 编辑