So I\'m declaring and initializing an int array:
static final int UN = 0; int[] arr = new int[size]; for (int i = 0; i < size; i++) { arr[i] = UN; } <
According to java,
Data Type - Default values byte - 0 short - 0 int - 0 long - 0L float - 0.0f double - 0.0d char - '\u0000' String (or any object) - null boolean - false
Data Type - Default values
byte - 0
short - 0
int - 0
long - 0L
float - 0.0f
double - 0.0d
char - '\u0000'
String (or any object) - null
boolean - false