What Happens If You Dont Initialize An Instance Variable Of Any Of The Primitive Types In Java

What Happens If You Dont Initialize An Instance Variable Of Any Of The Primitive Types In Java


  • 29 Dec, 2011

    Java by default initializes it to the default value for that primitive type. Thus an int will be initialized to 0(zero), a boolean will be initialized to false.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.