2014年5月7日

摘要: 1 import java.util.Stack; 2 public class T005 { 3 public static void main(String[] args){ 4 Node n1 = new Node(1); 5 Node n2 = ne... 阅读全文
posted @ 2014-05-07 21:11 thehappyyouth 阅读(233) 评论(0) 推荐(0) 编辑
 
摘要: 1.创建新的字符串 1 public class T004 { 2 public static void main(String[] args){ 3 System.out.println(replaceBlank("we are happy")); 4 } 5 ... 阅读全文
posted @ 2014-05-07 21:10 thehappyyouth 阅读(157) 评论(0) 推荐(0) 编辑
 
摘要: 1 import java.util.Scanner; 2 3 public class T003 { 4 5 public static void main(String[] args) { 6 Scanner in = new Scanner(System.in);... 阅读全文
posted @ 2014-05-07 19:34 thehappyyouth 阅读(232) 评论(0) 推荐(1) 编辑
 
摘要: 1 import java.util.Hashtable; 2 3 public class T035 { 4 public static void main(String[] args) { 5 FirstNotRepeatingChar("abaccdeff"); 6... 阅读全文
posted @ 2014-05-07 19:33 thehappyyouth 阅读(237) 评论(0) 推荐(0) 编辑