Saturday, May 28, 2011

Array Bounds Checking

Array Bounds Checking
- The length of an arra is how many slots it has. An array of length Number for example has slots indexed 0- (Number -1).

-All indexes should be of Integer type.
-Every-time your compiler says the error. System Out of Bounds something like that. You should automatically know that the problem is with your array. don't waste your time by reading all-through-out your program.

No comments: