Java Taskbook Level 7.3
Create a method that will take an array as a parameter and return a new array that does not contain duplicate elements.
Create a method that will take an array as a parameter and return a new array that does not contain identical, adjacent elements.
Create a method that takes an integer as its first parameter and returns the number of its digits specified by the second parameter.
Make a method that takes a number as a parameter and checks whether it is prime or not.
Create a method that takes an array of numbers as a parameter and returns the maximum and minimum values from this array as the following array:
[9, 1]