Probably a noob question.

Joined
Feb 3, 2020
Messages
1
Reaction score
0
Why can't I run this program? There is no green playbutton, I am new to coding and I couldn't figure out the problem, hopefully it's not something quite obvious. Thanks in advance
upload_2020-2-3_22-42-21.png
 

Attachments

  • CODING.PNG
    CODING.PNG
    515.2 KB · Views: 131
Joined
Apr 25, 2017
Messages
260
Reaction score
35
You miss a static there in your main method.
Java:
public static void main(String args[]){
     // your code
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top