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: 120
Joined
Apr 25, 2017
Messages
251
Reaction score
33
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,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top