This commit is contained in:
Mykola Fesenko
2025-07-29 09:05:07 +02:00
parent ce8e5eb3fe
commit 721931ac60
68 changed files with 608 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import java.util.Arrays;
public class lottoArray{
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));
}
}