Question: 1. Write a Java program to create an array of String (names) and copy the array elements into another array (names2). Print out the

1. Write a Java program to create an array of String (names) and copy the array elements into another array

1. Write a Java program to create an array of String (names) and copy the array elements into another array (names2). Print out the elements of the copied one. (2 marks) Array content: {"Amal", "Sara", "Leena","Saly", "Marya"} 2. Write a Java program to that defines a method (minimum) that receives one parameter which is an array of 6 integers to return the smallest number in the array. Use the method to calculate the minimum of the following list: 205,057, 441, 295, 620, 346 (3 marks)

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 public class ArrayCopy public static void mainString args create an array of given names String n... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!