Given an array declaration int[] arr = new int[5];, what is the initial value of arr[2]?
int[] arr = new int[5];
arr[2]
undefined
throws an exception
0
null