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: 117
Joined
Apr 25, 2017
Messages
247
Reaction score
31
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

No members online now.

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top