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 -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -