1、main+alt+/,回车:
public static void main(String[] args) {
}
2、syso+alt+/,回车:
System.out.println();
3、getter和setter快捷键:
右键→Source→Genarate getter and setter
或 shift+alt+s→Genarate getter and setter
4、无参构造方法的快捷键:alt+/,回车
5、有参构造方法的快捷键:
右键→Source→Genarate Constractor using Fields
或 shift+alt+s→Genarate Constractor using Fields