5

Possible Duplicate:
Difference between int[] array and int array[]

I saw this example in a java tutorial:

private int puzzle[];

This is different to the 'normal' declaration type I'm familiar with:

private int[] puzzle;

eclipse accepts both. Is there a difference between these 2 notations?

Community
  • 1
  • 1
Yoav
  • 2,077
  • 6
  • 27
  • 48

0 Answers0