[Solved] Regarding doing research on a main method() [closed]
The main method must be declared public, static, and void; from JLS 12.1.4: 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. Therefore, either of the following declarations is acceptable: public static void main(String[] args) public static void main(String… args) … Read more