為啥不對(duì)呢?
public class HelloWorld{
??? public static void main(String[] args) {
??char hobby="慕課網(wǎng)";
??System.out.println(hobby);
?}
}
public class HelloWorld{
??? public static void main(String[] args) {
??char hobby="慕課網(wǎng)";
??System.out.println(hobby);
?}
}
2016-09-04
舉報(bào)
2016-09-04
hobby應(yīng)該是String型的
2016-09-04
為啥char不對(duì)呢?