If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
Answer / Chandni
In Java, if no arguments are provided on the command line, the String[] args parameter passed to the main() method will be an empty array (not null).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is flag in python?
Explain the meaning of java applet.
What are voids?
What super () does in java?
What is compile time polymorphism?
20 Answers CTS, Elementus Technologies, Oracle,
why Java does not support multiple inheritances?
What is a jagged array in java?
What is skeleton and stub? What is the purpose of those?
Which of the classes will have more memory allocated?
why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?
2 Answers Global Logic, Satyam,
What is the set interface in java programming?
Why synchronization is important in java?