Question: Use JAVA code and think about the recursion and lists!!! Given a list of integers a, write a method that returns a new list with

Use JAVA code and think about the recursion and lists!!! Given a list of integers a, write a method that returns a new list with all the elements of a with sign negated, i.e., positive integers become negatives and negative integers become positives. Example: [2, -5, 8, 0] ==> [-2, 5, -8, 0]
static List
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
