同学们,这个为什么不用char而用String呢?
package com.imooc;
public class HelloWorld {
public static void main(String[] args) {
final char man='男';
final char female='女';
System.out.println("男性:"+man);
System.out.println("女性:"+female);
}
}