What does it mean when the program (NetBeans) tells you that a class does not have a main method? | SoloLearn: Learn to code for FREE!

0

What does it mean when the program (NetBeans) tells you that a class does not have a main method?

1/27/2017 10:01:23 PM

Pavros-Ariel

1 Answer

New Answer

+1

It means that the main method is missing. The main method is the method with the String args[] parameter. Example-- public static void main (String args[]) { //body }