I am having trouble accessing an array Boolean value such as the following...
boolean[][] sub = new boolean[][];
Object[] record = new Object[];
record[0] = sub;
if ( record[0][0][1] == false )
{
// Do something
}
When I set a watch, I get Type of boolean and value of false. The compiler gives an error of array required, but Object found.
The record[] array is of type object but contains a boolean[][] array within each index. I have tried casting but it isn't working ( i.e. (boolean)record[0][0][1] ). Does anyone have ideas on how to access the boolean value?