The array indices go from 0 to numStudents - 1, not 1 to numStudents
See this http://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: S_M_A Search: Search took 0.17 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |