class MagicSquare{ final int maxSize; int size; int mSquare [][]; int row, col; public MagicSquare (int s){ maxSize = 15; if (s > maxSize) size = maxSize; else size = s; mSquare = new int [size][size]; row = col - 0; intSquare(); } private void intSquare(){ int count, mid; for (row = 0; row