For example I have an array Object[][] array = Object[n][2];
Second row of this array contains an boolean data, due to:
for (int i = 0; i < array.length; i++){
boolean bool = true;
array[i][1] = bool;
}
Is it possible to convert an array[i][1], which is an object type, back to the boolean value?
System.out.println(((Object) true).getClass());