Consider all $ m \times n$ matrices whose all entries are $ 0$ or $ 1$. Find the number of such matrices for which the number of $ 1$-s in each row and in each column is even.
1. **Define the problem and notation:**
   We need to find the number of \( m \times n \) matrices with entries 0 or 1 such that each row and each column contains an even number of 1's. Let's denote this number by \( E(m, n) \).

2. **Base cases:**
   - For \( m = 1 \) or \( n = 1 \), the only way to have an even number of 1's in each row or column is to have all entries be 0. Thus, \( E(m, 1) = E(1, n) = 1 \).

3. **General case for \( m, n \geq 2 \):**
   - Consider the first \( n-1 \) columns of the matrix. For any single column, we can choose an even number of 1's in \( 2^{m-1} \) ways. This is because for each row, we have two choices (0 or 1), but the total number of 1's must be even.
   - Since the first \( n-1 \) columns can be chosen independently, the number of ways to choose these columns is \( (2^{m-1})^{n-1} = 2^{(m-1)(n-1)} \).

4. **Determine the \( n \)-th column:**
   - The \( n \)-th column is determined by the parity of the row sums of the first \( n-1 \) columns. Specifically, if the sum of the first \( n-1 \) entries in a row is odd, the \( n \)-th entry must be 1 to make the total even; if the sum is even, the \( n \)-th entry must be 0.
   - This ensures that each row has an even number of 1's.

5. **Check the \( n \)-th column for even number of 1's:**
   - We need to ensure that the \( n \)-th column itself has an even number of 1's. This can be shown using linear algebra.
   - Let \( B \) be the \( m \times (n-1) \) matrix formed by the first \( n-1 \) columns, and let \( x \) be the \( n \)-th column. We have \( x = B \mathbf{j} \), where \( \mathbf{j} \) is the column vector of all 1's.
   - The condition that \( x \) has an even number of 1's is equivalent to \( \mathbf{j}^T x = 0 \) (mod 2). Since \( x = B \mathbf{j} \), we have \( \mathbf{j}^T x = \mathbf{j}^T (B \mathbf{j}) = (\mathbf{j}^T B) \mathbf{j} \).
   - Each column of \( B \) has an even number of 1's, so \( \mathbf{j}^T B = 0 \) (mod 2). Therefore, \( \mathbf{j}^T x = 0 \) (mod 2), ensuring that \( x \) has an even number of 1's.

6. **Conclusion:**
   - The number of such matrices is \( 2^{(m-1)(n-1)} \).

The final answer is \( \boxed{2^{(m-1)(n-1)}} \).