为什么不用char而是用String?
public class HelloWorld{
public static void main(String[] args) {
final String LOVE="男";
final String LOVER="女";
System.out.println(LOVE);
System.out.println(LOVER);
}
}
public class HelloWorld{
public static void main(String[] args) {
final String LOVE="男";
final String LOVER="女";
System.out.println(LOVE);
System.out.println(LOVER);
}
}
2016-05-03
举报