摘要: 这个题目是呀随机产生一个字符串,并统计出现次数最多的字符(注意多个字符出现最多的情况) 1 import java.util.*; 2 3 public class CharacterCount { 4 public static void main(String[] args) { 5 Scanner input = new Scanner(System.in); 6 System.out.print("Enter the length of the random string : "); 7 int length = input.n... 阅读全文
posted @ 2013-03-21 15:15 zubinxiong 阅读(440) 评论(1) 推荐(0)