main function and print statement gives compile error

前端 未结 0 787
礼貌的吻别
礼貌的吻别 2020-12-29 01:52

the main function and print statements are giving compile errors (java):

class Main {
  public void main() {
    print("Hello world")
  }
}
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题