Question: solve in java please Part 1 - Multi-threading Write a multi-threading JAVA program that creates a random array of integers (300 entries) ranging from 0

solve in java please
Part 1 - Multi-threading Write a multi-threading JAVA program that creates a random array of integers (300 entries) ranging from 0 to 1000, then asks the user for a number between O and 1000. If the entered number is under the minimum or above the maximum of the array, the program must print "NUMBER OUTSIDE THE RANGE", or "IN RANGE" in case the number is between the maximum and minimum of array. I The main thread fills an array of 300 entries by random numbers ranging between 0 and 1000. Then, it will the user to enter a number. The main thread then creates two threads "MAX" and "MIN", where MAX aims to find the maximum in the array and MIN aims to find the minimum. Once they finish, the main thread prints "IN RANGE" if the user's number is between the maximum and minimum, or "NUMBER OUTSIDE THE RANGE" otherwise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
