in java
2 Time left 1:54:39 The following figure shows two matrices A and B both of size NxN, implement the following requirements: out of Matrix A Matrix B question Block 1 Block 2 Block 1 Block 2 Block 3 Block 4 Block 3 Block 4 Assume that the elements of matrix A is saved in fileA.txt and the elements of matrix B is saved in fileB.txt. 1. Define two threads that receive the file names, and fill in the matrices with elements (ie. matrix A a file.txt, matfix Ba fileB.XI). (4 points) 2. Divide the matrices into four blocks and submit each block to a certain thread. All threads must independently and concurrently perform cross product between each block in matrix A with the corresponding block in matrix B, then save the results in matrix C (4 points) 3. The main method must pass the resulting matrix C to a new thread. After that, the thread should save it in a text file named matrixc.txt . (2 points) A THI ype here to search TE E 2 Time left 1:54:39 The following figure shows two matrices A and B both of size NxN, implement the following requirements: out of Matrix A Matrix B question Block 1 Block 2 Block 1 Block 2 Block 3 Block 4 Block 3 Block 4 Assume that the elements of matrix A is saved in fileA.txt and the elements of matrix B is saved in fileB.txt. 1. Define two threads that receive the file names, and fill in the matrices with elements (ie. matrix A a file.txt, matfix Ba fileB.XI). (4 points) 2. Divide the matrices into four blocks and submit each block to a certain thread. All threads must independently and concurrently perform cross product between each block in matrix A with the corresponding block in matrix B, then save the results in matrix C (4 points) 3. The main method must pass the resulting matrix C to a new thread. After that, the thread should save it in a text file named matrixc.txt . (2 points) A THI ype here to search TE E