This commit is contained in:
Mykola Fesenko
2025-07-29 08:08:23 +02:00
commit 899a05907b
355 changed files with 11002 additions and 0 deletions

10
4/Array1.java Normal file
View File

@@ -0,0 +1,10 @@
import java.util.Arrays;
public class Array1{
public static void main(String args[]){
int lottozahlen[] = {17, 9, 39, 23, 41, 6};
System.out.println("Anzahl Elemente im Array: " + lottozahlen.length);
System.out.println("Komplettes Array: " + Arrays.toString(lottozahlen));
Arrays.sort(lottozahlen);
System.out.println("Komplettes Array: " + Arrays.toString(lottozahlen));
}
}