### LANGUAGE: JAVA

### CHALLENGE:

### SOLUTION:

int negatives = 0; int positives = 0; for (int i=0; i<a2d.length; i++) for (int j=0; j<a2d[i].length; j++){ if (a2d[i][j] > 0) positives++; if (a2d[i][j] < 0) negatives++; } if (negatives > positives) isNegative = true; else isNegative = false;