摘要: 假设你有一个字符串“ this is a test string”,写一段代码把这个句子颠倒一下, 颠倒成下面这样“string test a is this”。Java 里面有颠倒字符串方法 reverse(),不要用 java 里面已经写好的这个方法,要自己写个方法,实现这样的功能。用之前更新过 阅读全文
posted @ 2018-08-24 12:22 时光以北暮南城 阅读(233) 评论(0) 推荐(0)