*6.38(生成随机字符)使用程序清单6-10RandomCharacter中的方法,打印100个大写字母及100个一位数字,每行打印10个。
*6.38(Generate random characters) Use the methods in RandomCharacter in Listing 6.10 to print 100 uppercase letters and then 100 single digits, printing ten per line.
下面是参考答案代码:
public class GenerateRandomCharactersQuestion38 {
public static void main(String[] args) {
for(int i = 1;i <= 200;i++)
{
if