System.out.println();快捷键ALT+1 import java.util.Scanner; ctrl+1 子符串:string a=sc.next(); 字符相等(变量,equals(" "));