3 2 Pts Create Method Called Printarray Prints Given Array Strings Following Form Stringl Q37282627

3. (2 pts) Create a method called printArray that prints a given array of Strings in the following form [Stringl, string2, St

3. (2 pts) Create a method called printArray that prints a given array of Strings in the following form [Stringl, string2, String3, .. , StringN] So the array items are surrounded by square brackets, and each item in the array is separated by a comma. Note: There is no comma after the last item. For example: string[] a”easter”, “bunny”, “basket”i printArray(a) Prints: easter, bunny, basket] stringli b”basket”, “bunny”, “easter”, “eggs” printArray (b); Prints: [basket, bunny,

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.