>
> There are three syntax of defining arrays in java:
>

1. int num[]= new int[50];
2. int []num= new int[50];
3. int[] num=new int[50];
4. int[] num,name;

1 and 2 are same....just the syntax is different but the meaning is same.
3 is used to define multiple arrays simultaneously in java as shown in 4.

hope you got the solution

keep smiling :)
yours
PR

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to