What is the need of String array in the main method of JAVA, It is for use of command line argument programming & now a days programming with IDE like eclllipse, netbeans no need to pass any initial arguments.
If this signature of method is required for some purpose, why there is no any main method which is not taking any arguments and JVM invokes it to bootstrap Java program. (If one one dont want to send any initial parameter) ?
Why there is no any main method which is not taking any arguments and JVM invokes it to bootstrap Java program. (If one one don't want to send any initial parameter) ?
now a days programming with IDE like eclllipse, netbeans no need to pass any initial arguments.
This has absolutely nothing to do with the IDE. How do you think the IDE passes initial arguments? If you don't want to send any arguments, then the array is empty. What's the problem?
Why on earth would you suggest there be 2 entry points to your program?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With