最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

幫忙看看什么問(wèn)題,老是報(bào)調(diào)試,還有排序后面的不顯示

http://img1.sycdn.imooc.com//596c9df20001a5e008750256.jpg

http://img1.sycdn.imooc.com//596c9df2000179af07640384.jpg

http://img1.sycdn.imooc.com//596c9e60000136c602700217.jpg

http://img1.sycdn.imooc.com//596c9e600001fc0506340349.jpg

如題suo shi

正在回答

2 回答

?public?void?testsort3()?{
????	??String?a="0123456789qwertyuiopasdfghjklzxcvbnmQWERTYIOPASDFGHJKLzxcvbnm";
????	??Random?rd=new?Random();????	??
????	?List<String>stringList=new?ArrayList<String>();
????	??for(int?i=0;i<10;i++)?{
????		??StringBuilder?sb=new?StringBuilder();?
????		??for(int?j=0;j<1+rd.nextInt(10);j++)?{
????			??char?cr=a.charAt((int)(rd.nextInt(62)));
????			??sb=sb.append(String.valueOf(cr));
????		??}??			
??			?System.out.println("獲得字符串:"+sb);
??			?stringList.add(sb.toString());
????	??}
????	??System.out.println("-------排序前---------");
????	??for?(String?string?:stringList)?{
??			System.out.println("元素:"+string);
????	??}
????	??System.out.println("-------排序后---------");
????	??Collections.sort(stringList);
????	??for?(String?string?:stringList)?{
??			System.out.println("元素:"+string);
????	??}
????	??
??????}


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

街邊七號(hào)

只把大小寫字母和數(shù)字添加進(jìn)去 符號(hào)呢比如逗號(hào)句號(hào)引號(hào) 這些東西不算進(jìn)字符?
2017-10-10 回復(fù) 有任何疑惑可以回復(fù)我~

全部代碼拷過(guò)來(lái),這局部代碼不好看

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

幫忙看看什么問(wèn)題,老是報(bào)調(diào)試,還有排序后面的不顯示

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)