How can one prove that the array is not null but empty?
By admin on Jul 31, 2007 in JAVA Interview Questions
Print args.length. It will print 0. That means it is empty. But if it would have been null then it would have thrown a NullPointerException on attempting to print args.length.


