Write the definition of a method printarray, which has one parameter , an array of int s. the method does not return a value . t
he method prints out each element of the array , on a line by itself, in the order the elements appear in the array , and does not print anything else.