一般情况下,如果需要创建一个内容可变的字符串对象,应优先考虑使用 StringBuilder 类。
2015-07-15
集合的两大接口:一、collection(List(ArrayList,LinkedList);Queue(LinkedList);Set(HashSet))前两者有序可重复,后面一种无序不可重复。
二、Map((HashMap))
二、Map((HashMap))
2015-07-14
finally语句块在try catch中的return语句执行完之后,返回到调用者之前执行的.
2015-07-14
终于编完了!源代码github: https://github.com/ComputeAero/Codevotion_imooc/tree/master/Poker
2015-07-14
finally语句块在catch中的return语句执行完毕之后,整个方法返回到调用者之前执行的;
2015-07-13
int i=0;
while(str.length()-3-4*i>0)
{
str.insert(str.length()-3-4*i,',');
i++;
}
while(str.length()-3-4*i>0)
{
str.insert(str.length()-3-4*i,',');
i++;
}
2015-07-13
我的源代码:https://www.evernote.com/shard/s512/sh/be1e14d2-551c-4c8e-aaa7-a3d0a384b665/92385c9b287b98c08b2f0a1e2fab2be2
2015-07-13