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

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -