java HelloWord(控制台输入和输出)

public class helloword {

    public static void main(String[] args) {
        //控制台输出
        //快速打印输出 :syso+"alt"+"/",回车
        System.out.println("Helloword!");
        int a;
        //控制台输入
        Scanner in=new Scanner(System.in);
        a=in.nextInt();
    }
}
原文地址:https://www.cnblogs.com/cnsec/p/13286855.html