摘要: String s = "hello";String t = "hello";1.char c [ ] = {'h','e','1','1','o'};System.out.println(s.equals (t)); //true s和t指向内存常量区的同一个字符串 ;System.out.prin... 阅读全文
posted @ 2015-12-30 17:31 小飞虫子 阅读(168) 评论(0) 推荐(0) 编辑