为什么第三行第四行不用char而是用string
public class HelloWorld{
public static void main(String[] args) {
final String male="男";
final String female="女";
System.out.println(male);
System.out.println(female);
}
}
public class HelloWorld{
public static void main(String[] args) {
final String male="男";
final String female="女";
System.out.println(male);
System.out.println(female);
}
}
2016-02-16
举报