backup
This commit is contained in:
18
4/A2.~ava
Normal file
18
4/A2.~ava
Normal file
@@ -0,0 +1,18 @@
|
||||
import java.util.Arrays;
|
||||
|
||||
public class A2 {
|
||||
public static void main(String args[]) {
|
||||
int zahlen[] = {13, 9, 67, 42, 101, 99, 97, 112, 83, 5, 78 } ;
|
||||
for (int zahl: zahlen ) {
|
||||
System.out.println( zahl);
|
||||
} // end of for
|
||||
System.out.println(Arrays.toString(zahlen));
|
||||
|
||||
Arrays.sort(zahlen);
|
||||
|
||||
|
||||
for (int zahl: zahlen ) {
|
||||
System.out.println( zahl);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user