top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is the difference between following Java declarations?

+1 vote

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
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.