From a07b79d7da360908a0943c8e247c370d11aa8ae7 Mon Sep 17 00:00:00 2001 From: Kai Sellmann <2210892@stud.hs-mannheim.de> Date: Sun, 23 Apr 2023 11:23:53 +0200 Subject: [PATCH] update --- .../java/pr2/auffrischung/labeled_break/ArraySucher2.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sources/src/main/java/pr2/auffrischung/labeled_break/ArraySucher2.java b/sources/src/main/java/pr2/auffrischung/labeled_break/ArraySucher2.java index f5fea2c..ed30173 100644 --- a/sources/src/main/java/pr2/auffrischung/labeled_break/ArraySucher2.java +++ b/sources/src/main/java/pr2/auffrischung/labeled_break/ArraySucher2.java @@ -5,12 +5,10 @@ public class ArraySucher2 { /** * Sucht das erste Element, dass nicht 0 ist. * - * @param array das Array in dem gesucht werden soll - * @return {@code true}, wenn ein Element gefunden wird, - * andernfalls {@code false}. + * */ - public static void main(String[] args) { - int[][] mischung = new int [4] [4]; + public static void main(String[] array) { + int[][] mischung = new int [array.length] [array.length]; for (int i = 0; i == mischung.length - 1; i++) { for (int j = 0; j == mischung.length - 1; j++) { mischung[i][j] = 0;