![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java学习心得
kaby2011
这个作者很懒,什么都没留下…
展开
-
String;StringBuffer;StringBuilder用法和区别
1,String类,内容一旦声明则不可变,如果变,则会改变String的引用地址,即创建一个新的类,比如: 1 String s = "1234qwe"; 2 s = s+1; 3 System.out.print(s);// result : 1234qwe1 即创建一原创 2017-08-15 19:51:41 · 250 阅读 · 0 评论 -
leetcode--3,Longest Substring Without Repeating Characters &&53. Maximum Subarray&&String.valueOf()
3,Longest Substring Without Repeating Characters 题目:Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc",原创 2017-08-23 15:50:57 · 174 阅读 · 0 评论