Which of the following is the correct way to declare an integer array in Java?, int[] arr = new int[5];, int arr[] = new int[5];, int arr[5];, Both a and b.

Rankningslista

Visuell stil

Alternativ

Växla mall

)
Återställ sparas automatiskt: ?