Java Default Values for primitives and Reference Types

Instance variables (also called member variables) are variables defined at the class level. That means the varaible declaration is not made within a method, constructor, or any other initializer block.

Instance variables are initialized to a default value each time a new instance is created, although they may be given an explicit value after the object's super-constructors have completed.

 

Here are the default values

 

default values java

Range of Numeric Primitives

 

range of numeric primitives