P
P
PRAIT2019-05-08 00:09:20
Java
PRAIT, 2019-05-08 00:09:20

What does "missing main method for test.Test" mean?

Hello everyone, I'm trying to run the program and netBeans displays the main method for test.Test is missing.
What did I do wrong? I don't understand why this window is displayed.
5cd1f3fc49ced717173839.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2019-05-08
@PRAIT

Hello!
Means that the main method is missing, which you wrote incorrectly.
(you forgot to pass arguments to the method)
should be
instead
public static void main()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question