老师,为什么我定义的常量输出是一串数值?但是我不一起输出就没问题.这是为什么?
package hmy.scu; public class hello { public static void main(String[] args) { final char MALE='男'; final char FEMALE='女'; System.out.println(MALE+FEMALE); } }
package hmy.scu; public class hello { public static void main(String[] args) { final char MALE='男'; final char FEMALE='女'; System.out.println(MALE); System.out.println(FEMALE); } }