InterviewSolution
Saved Bookmarks
| 1. |
Why Do We Only Use The Main Method To Start A Program? |
|
Answer» The ENTRY point METHOD main is used to the provide a standard convention for starting Java programs. The choice of the method name is somewhat arbitrary, but is partly DESIGNED to avoid clashes with the Thread START() andRunnable run() METHODS, for example. The entry point method main is used to the provide a standard convention for starting Java programs. The choice of the method name is somewhat arbitrary, but is partly designed to avoid clashes with the Thread start() andRunnable run() methods, for example. |
|