public class Testat1B { /** * Returns the average of all values in the array that are below the given * threshold. * * @param arr The input array of integers. * @param threshold The threshold value. * @return The average of all values below the threshold, or 0 if none are * found. */ public static double calculateMeanBelow(int[] arr, int threshold) { // TODO: implement Aufgabe 1 return -42.0; } /** * Returns the average of all columns in a 2D array. * * @param arr The input 2D array of integers. * @return An array containing the average of each column. */ public static double[] calculateColumnMean(int[][] arr) { // TODO: implement Aufgabe 2 return new double[42]; } }