adhdhackers

Test

May 4th, 2017
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. public class test{
  2.    
  3.     public static void main (String[] args){
  4.         int [][] mat1 = {{1,2,3,4},
  5.                    {5,6,7,8},
  6.                    {9,10,11,12}};
  7.         Matrix myMat = new Matrix(mat1);
  8.         myMat.printMat();
  9.         myMat.reverseAllRows();
  10.         myMat.printMat();
  11.       }  
  12.      
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment