public class Lab09d { private int xCount,oCount; public static void main(String [] args) { char[][] arr = { {'X','O','O','O','X'}, {'X','X','X','X','O'}, {'O','O','X','O','X'}, {'O','X','X','X','O'}, {'O','O','O','O','X'} }; Lab01d test = new Lab01d(); test.XCount(arr); test.OCount(arr); test.toString(); } /*public Lab01d() { }*/ public void XCount(char [][] arr) { int x=0, y=0; if(arr[x][y]=='X') { xCount++; if((x+1)>=arr[x].length) { if((y+1)