One can declare the main method as private, but a main method with private access specifier will not be treated by the java runtime, as entry point of the program.
Type: Posts; User: freedeus; Keyword(s):
One can declare the main method as private, but a main method with private access specifier will not be treated by the java runtime, as entry point of the program.