In Java why would one want to put the brackets in front of the name of an aray?

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-06-15T01:33:02Z Indexed on 2010/06/15 1:42 UTC
Read the original article Hit count: 248

Filed under:
|

I've been told that

int[] numbers 

and

int numbers[] 

are equivalent. I've only ever seen the former though. What impetus is there, if ever, to write the latter?

© Stack Overflow or respective owner

Related posts about java

Related posts about arrays