What is the difference between int[] arr and int arr[] in java

Answer: it's the same

[] Either follow the variable name or follow the type;

int []arr is wrong

Recommend int[] arr writing

Guess you like

Origin blog.csdn.net/Mr_zhang66/article/details/114264845
Arr