InterviewSolution
| 1. |
What Does Public Static Void Main(string[]) Mean? |
|
Answer» This is a special static method SIGNATURE that is USED to run Java programs from a command line INTERFACE (CLI). There is nothing special about the method itself, it is a standard Java method, but the Java interpreter is designed to call this method when a class reference is given on the command line, as below. This is a special static method signature that is used to run Java programs from a command line interface (CLI). There is nothing special about the method itself, it is a standard Java method, but the Java interpreter is designed to call this method when a class reference is given on the command line, as below. |
|