How Can One Prove That The Array Is Not Null But Empty Using One Line Of Code
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.
2009-2016 downloadmela.com. All rights reserved.