public static void main(String args[]){
		int arr[][] = {{1,2,3,4},{1,2,3,4},{1,2,3,4},{1,2,3,4},{1,2,3,4}};
		MatrixInDiagonalOrder mdo = new MatrixInDiagonalOrder();
		mdo.printMatrix(arr);
	}
http://www.geeksforgeeks.org/print-matrix-diagonally/
src/com/interview/multiarray/MatrixInDiagonalOrder.java