View Single Post
  #1 (permalink)  
Old 07-24-2007, 05:50 AM
toby toby is offline
Member
 
Join Date: Jul 2007
Posts: 40
toby is on a distinguished road
Help with method length
I cant figure out what is wrong with this code:

Code:
int [] numbers = {3, 2, 3, 6, 9, 10, 12, 32, 3, 12, 6}; for (int count = 1; count <= numbers.length; count++) System.out.println (numbers [count]);
Any ideas why it's wrong?
Thanks
Reply With Quote
Sponsored Links