Question: 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

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.
static List
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
