1.3.1变量与计算:读输入
    package hello;

    import java.util.Scanner;

    public class Hello {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
    System.out .println(“你好”);
    Scanner in =new Scanner(System.in);
    System.out.print(“echo:”+in.nextLine());
    }

    }

    Alt+/:可以找到想写的代码;
    +可以连接两个字符串;
    要习惯用键盘做;
    ctrl+/:注释:相当于计算机内不存在;

    package hello;
    import java.util.Scanner;
    public class Hello {
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    System.out .println(“你好”);
    Scanner in =new Scanner(System.in);
    //System.out.print(in.nextLine());
    //System.out.print(“echo:”+in.nextLine());
    System.out.print(“2+3=”+5);
    }
    }

    package hello;
    import java.util.Scanner;
    public class Hello {
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    System.out .println(“你好”);
    Scanner in =new Scanner(System.in);
    //System.out.print(in.nextLine());
    //System.out.print(“echo:”+in.nextLine());
    System.out.print(“2+3=”+(2+3));
    }
    }