Question:
Write a Java method which takes an integer array parameter and fills the array with random numbers between 1 and 1000, including 1 and 1000.
Use a traditional for loop to process the array.
Include comments in code section. Code this in java programming.