import java.util.Scanner;
public class helloe {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("你好哇"); //应声虫,输入的内容输出一遍
Scanner in = new Scanner(System.in); //用户输入
System.out.println(in.nextLine());
}
}
注意在eclipse中当图片中右边那个图标亮时,有多个程序同时在运行
细节:字符串连接符 +