Array Aufgaben 5.5.2023
							parent
							
								
									0be5f96eb7
								
							
						
					
					
						commit
						8695d81df3
					
				|  | @ -152,12 +152,13 @@ public class ArrayExperimente | ||||||
|      */ |      */ | ||||||
|     public static int[] arrayUmdrehen(int[] array) |     public static int[] arrayUmdrehen(int[] array) | ||||||
|     { |     { | ||||||
|        for(int i=0; i<array.length; i++) |         int[] wendeArray = new int[array.length]; | ||||||
|  |         for(int i=0; i<array.length; i++) | ||||||
|         { |         { | ||||||
|  |             wendeArray[i] = array[array.length -1-i]; | ||||||
|   |   | ||||||
|         } |         } | ||||||
|        int wendeArray = new int[array.length]; |         return wendeArray; | ||||||
|         return null; |  | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|  |  | ||||||
|  | @ -0,0 +1,11 @@ | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * Beschreiben Sie hier die Klasse Strings. | ||||||
|  |  *  | ||||||
|  |  * @author (Ihr Name)  | ||||||
|  |  * @version (eine Versionsnummer oder ein Datum) | ||||||
|  |  */ | ||||||
|  | public class Strings | ||||||
|  | { | ||||||
|  |     | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue