Im having trouble with a simple hello world program lol! Im hoping someone can shed some light on this.
So the error im receiving is the following:
$
Problem is that your method does not take String array as a argument. Use following signature instead:
public static void main(String[] argv)
or
public static void main(String argv[])
Other valid option is:
public static void main(String ... argv)
In Java Language Specification this is told as follows:
The method main must be declared public, static, and void. It must specify a formal parameter (§8.4.1) whose declared type is array of String.