(String args[])
| 2 | class CommonMatrixElements |
| 3 | { |
| 4 | public static void main(String args[]) |
| 5 | { |
| 6 | // Input |
| 7 | int mat[][] = |
| 8 | { |
| 9 | {1, 2, 1, 4, 8}, |
| 10 | {8, 7, 8, 5, 1}, |
| 11 | {8, 7, 7, 3, 1}, |
| 12 | {8, 1, 2, 7, 9}, |
| 13 | }; |
| 14 | // Funtion call |
| 15 | commonElements(mat,mat.length,mat[0].length); |
| 16 | } |
| 17 | public static void commonElements(int Mat[][], int r, int c) |
| 18 | { |
| 19 | // Map |
nothing calls this directly
no test coverage detected