请问为啥char不对呢?char和String的区别是什么呢?
public class HelloWorld{
public static void main(String[] args) {
String hobby="慕课网";
System.out.println(hobby);
}
}
public class HelloWorld{
public static void main(String[] args) {
String hobby="慕课网";
System.out.println(hobby);
}
}
2016-09-04
举报