java - Difference between int[] array and int array[] -


i have been thinking difference between 2 ways of defining array:

  1. int[] array
  2. int array[]

is there difference?

they semantically identical. int array[] syntax added c programmers used java.

int[] array preferable, , less confusing.


Comments

Popular posts from this blog

java - Static nested class instance -

Python Pandas join aggregated tables -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -