結果 : write a java program to find the sum of diagonal elements in a 2d array