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

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -