Every time I try to run a program,
Error: Main method not found in class program3, please define the main method as:
public static void main(String[] args)
An example would be:
public class program3 {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
Any help is appreciated, thanks in advance.