這個(gè)為啥一直運(yùn)行失敗,求解答
HelloWorld.java:2:?error:??expected ????public?staric?void?main(String[]?args){ ?????????????????^ HelloWorld.java:2:?error:?invalid?method?declaration;?return?type?required ????public?staric?void?main(String[]?args){ ???????????????????????^ HelloWorld.java:3:?error:?';'?expected ????????System.out.println("Hello?imooc"): ?????????????????????????????????????????^ 3?errors
2022-06-23
你寫(xiě)的是 冒號(hào):? ?應(yīng)該以英文分號(hào)結(jié)尾 ;