
Complete the implementation of multAllExceptDiagonal. This method gets a square matrix as input (there are as many rows as columns) and returns the multiplication of all values in the matrix excluding the values at the diagonal that starts at (0,0) and ends at (lastRow, lastCol). For example, if the input is a 3×3 matrix, your method should return nums[O1[1]* nums[0][2]* nums10 nums[1]12nums[2]0] nums[2] [1]. The result should be a long public static int multDiagonal(intl] nums) long mult-
PayPal Gateway not configured
PayPal Gateway not configured