Question: In java Write a program has a method that accepts two arguments an and a number n. Let the array contain integers. The method should
In java
Write a program has a method that accepts two arguments an and a number n. Let the array contain integers. The method should display all the numbers in the array that are greater than n. Let the array be initialized like the following
int[] numbers = {1, 23, 43, 54, 4, 34, 2, 5, 7, 9, 57, 32};
Output Enter a number: 9 23 43 54 34
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
