public class HelloWorld{
public static void main(String[] args) {
}
注意双引号的中英文是否正确
public static void main(String[] args) { final String MALE = "男"; final String FEMALE = "女"; System.out.println ("性别有:" +MALE+ " 和 " + FEMALE); }