On Jul 28, 12:12 am, "David Seto" <[email protected]> wrote:
> // Declare and create int array whose size is 10
> int[] age=new int[10];
>
> int[] ages = new int[10];
You should initialize the values of each term of the arrays before
being able to print them.
You've missed a loop for each array.
>
> // Display the value of each entry in the array
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---