InterviewSolution
Saved Bookmarks
| 1. |
Can The Main Method Be Overloaded? |
|
Answer» YES, any Java method can be overloaded, provided there is no final method with the same signature ALREADY. The Java interpreter will only invoke the STANDARD entry point signature for the MAIN method, with a string array ARGUMENT, but your application can call its own main method as required. Yes, any Java method can be overloaded, provided there is no final method with the same signature already. The Java interpreter will only invoke the standard entry point signature for the main method, with a string array argument, but your application can call its own main method as required. |
|