How Can One Prove That The Array Is Not Null But Empty Using One Line Of Code

How Can One Prove That The Array Is Not Null But Empty Using One Line Of Code


  • 29 Dec, 2011

    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.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.