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: 126
Joined
Apr 25, 2017
Messages
259
Reaction score
36
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
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top