How to declare an array in java?
int arr[]=new int[10];
🔗Source: stackoverflow.com
🔗Source: Java Interview Questions and Answers