java how to array code example
Example: make an array java
//you can do it like this
int[] arr = {10, 20, 30, 40};
//or this
int arr = new int[4];
//you can do it like this
int[] arr = {10, 20, 30, 40};
//or this
int arr = new int[4];