Question: I need both answers in Java only please. Exercise 1. Write a method that receives an ArrayList as an argument and returns an int array

I need both answers in Java only please.
Exercise 1. Write a method that receives an ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
