No problem :)
Try changing:
int[] array = new int[5];
to
Type: Posts; User: JavaPF
No problem :)
Try changing:
int[] array = new int[5];
to
Hello Yazan.
Welcome to the Java Programming Forums :)
I have made some changes to your code. The problem was you were filling the entire array with the same num value.
Take a look at this....