public class HelloWorld{ public static void main(String[] args) { char hobby="慕课网"; System.out.println(hobby); }}
hobby应该是String型的
为啥char不对呢?