top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between following Java declarations?

+1 vote
175 views

int a[] = new int[5];
int[] a = new int[5];

posted Sep 14, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

I dont think there is any difference between the above 2 statements, both looks to be different form of same declaration.

answer Sep 14, 2014 by Salil Agrawal
0 votes

both gives same meaning

answer Sep 14, 2014 by anonymous
...