// package chapter5; /** * Title: Chapter 5, "Arrays" * Description: Examples for Chapter 2 * Copyright: Copyright (c) 2000 * Company: Armstrong Atlantic State University * @author Y. Daniel Liang * @version 1.0 */ // TestMatrixOperation.java: Add and multiply two matrices // TestMatrixOperation.java: Add and multiply two matrices public class TestMatrixOperation { /**Main method*/ public static void main(String[] args) { // Create two matrices as two dimensional arrays int[][] matrix1 = new int[5][5]; int[][] matrix2 = new int[5][5]; // Assign random values to matrix1 and matrix2 for (int i=0; i