array null pointer java

Java
class teste {
  public static void main(String[] args) {
  	// U will most likekly get a null pointer 
  	//if u dont inicialize the arr like that
	int[] arr = new int[ARRAY_SIZE]; // Correct
  	int[] arr; //incorrect and might have nullpointer
  }
	
}
Source

Also in Java: