为什么重新赋值运行错误
public class HelloWorld{
public static void main(String[] args) {
String hobby="慕课网";
System.out.println(+hobby);
hobby="我爱慕课网":
System.out,println(+hobby)
}
}
显示
error: not a statement
System.out,println(+hobby);
^
error: ';' expected
System.out,println(+hobby);
^
2 errors