2013年10月29日星期二

Solving

interview questions When calling the main () method of a Java class, if we do not provide any arguments on the command line, then the ; string array of main () method - will it be empty or null?
------ Solution ----------- ---------------------------------
Empty array, guess .
This problem is rather biased, testing will know.
------ Solution ---------------------------------------- ----
System.out.println (args.length);
Print 0
------ Solution ---------------------------------- ----------
Print args.length.
------ For reference only ------------------- --------------------
empty empty
------ For reference only ------- --------------------------------
empty.

没有评论:

发表评论