Question: Java Write a static method called printNumbersGreaterThan that accepts an array of integers and prints the numbers in the array that is greater than the
Write a static method called printNumbersGreaterThan that accepts an array of integers and prints the numbers in the array that is greater than the number pass into the function. For example, if the array {74,85,102,99,101,85,56} and number is 74 the function should print 85,85,102,99,101. Show how you would define and initialize an array of integers and pass it to your static method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
