Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can by default values 0 instance variable and static variable in java?

user-image
Question added by Amit Gupta
Date Posted: 2015/07/14

instance and static field always get  default value at run time , you don't need to initialize it .only local variable must be initialized before use.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.