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
Deleted user
by Deleted user

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