Question: In Java Task 4 Write a method that takes in an two integer arrays of the same size and returns another array with the sum
In Java
Task 4 Write a method that takes in an two integer arrays of the same size and returns another array with the sum of each corresponding entry. For instance, if the function is passed the following arrays: array 1{1,2,3} array 2>{13,4,50} It should return an array {14,6,53} because the first element of array 1 is 1 added to first element of array 2 which is 13 gives 14 . You should call this method in the main and display the result in the main method as well
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
