Missing method body, or declare abstract in Java

后端 未结 4 1685
有刺的猬
有刺的猬 2021-01-19 02:35

I\'m new to Java and tried to get things running on my computer.

A simple \"hello world program\" fails calling a method

class helloworld
{   
             


        
4条回答
  •  天命终不由人
    2021-01-19 03:12

    first you focus on your error.. solution of error is (

    abstract class HelloWorld
    {
    public abstract void(String[] args);
    

    you shoud try this ;)

提交回复
热议问题