/** * Given a 2D array of characters, return true if any row, column or diagonal
ID: 3730096 • Letter: #
Question
/**
* Given a 2D array of characters, return true if any row, column or diagonal of
* the table has only lower-case letters. You can assume the bingo table is a
* square.
*
* @param table
* 2-D array of characters where each element contains an alphabet (capital or lower-case)
* @return true if any row, column, or diagonal lower-case letter bingo is found.
* false otherwise.
*/
public static boolean caseBingo(char[][] table) {
throw new UnsupportedOperationException("Remove this line and replace with your implementation.");
}
Explanation / Answer
public static boolean caseBingo(char[][] table) { for(int i = 0;iRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.