1 public static void main(String[] args) { 2 Scanner s = new Scanner(System.in); 3 int a = s.nextInt(); 4 System.out.println("第一个整数是:"+a); 5 int b = s.nextInt(); 6 System.out.println("第一个整数是:"+b); 7 }