Write code that returns an array of sorted integer absolute numbers of the given array. The elements should be sorted in ascending order.
Try not to use the for loop, but use Stream API.
Write code that returns an array of sorted integer absolute numbers of the given array. The elements should be sorted in ascending order.
Try not to use the for loop, but use Stream API.
Sample Input 1:
1 2 6 -3 -9Sample Output 1:
1 2 3 6 9Create a free account to access the full topic