DEVFYI - Developer Resource - FYI

If I do not provide any arguments on the command line, then the String array of Main method will be empty or null?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

481. If I do not provide any arguments on the command line, then the String array of Main method will be empty or null?

It is empty. But not null.

(Continued on next question...)

Other Interview Questions