In Java ,
Create a function, findNum(), that determines if a number is in an array. The function takes in an
array of integers, int[] and a int number to find, and returns a boolean, true or false.
Create a function, removeDuplicates(), that removes duplicates from a sorted array. The function
takes in an array of integers, int[], and returns a new array with only unique integers.

In Java Create a function findNum that determines if a.pdf

  • 1.
    In Java , Createa function, findNum(), that determines if a number is in an array. The function takes in an array of integers, int[] and a int number to find, and returns a boolean, true or false. Create a function, removeDuplicates(), that removes duplicates from a sorted array. The function takes in an array of integers, int[], and returns a new array with only unique integers.