Page 1 of 1

What is the difference between the contents of array1 and array2 after initialization: Integer[] array1 = new Integer [5

Posted: Sun Jul 10, 2022 11:30 am
by answerhappygod
What Is The Difference Between The Contents Of Array1 And Array2 After Initialization Integer Array1 New Integer 5 1
What Is The Difference Between The Contents Of Array1 And Array2 After Initialization Integer Array1 New Integer 5 1 (30.3 KiB) Viewed 50 times
What is the difference between the contents of array1 and array2 after initialization: Integer[] array1 = new Integer [5]; int[] array2 = new int[5]; O array1 has null values while array2 has zeros. O no difference, they are both arrays full of null values. O array1 has zeros while array2 has null values. no difference, they are both arrays full of zeros.