野心家

导航

2017年12月23日 #

将字符串反向输出

摘要: package demo1; public class ch06 { public static void main(String[] args) { String str1="To be or not to be"; StringBuffer bu=new StringBuffer(); System.out.println(bu.reverse()); } } ... 阅读全文

posted @ 2017-12-23 11:24 野心家 阅读(626) 评论(0) 推荐(0) 编辑