摘要:
//产生指定数目随机数的方法: 1 package text; 2 3 import java.util.Scanner; 4 5 public class Modan { 6 static Scanner in = new Scanner(System.in); 7 public static v 阅读全文
摘要:
int x = 100; int y = 200; System.out.println("x + y = " + x + y); System.out.println(x + y + "= x + y"); 在第一个输出中:由于输出顺序的不同,将String 和其它数据类型相加,结果是一个新的St 阅读全文