Question: Write complete java application that works as follow: a. Define static void method called FillData that takes 1D integer array then fills it with integer

 Write complete java application that works as follow: a. Define static

Write complete java application that works as follow: a. Define static void method called FillData that takes 1D integer array then fills it with integer random data.

Write complete java application that works as follow: a. Define static void method called FillData" that takes ID integer array then fills it with integer random data. - To generate random data, you must import "java.util.Random,create an object from the Random class then generate random numbers via object e.g: import java.util.Random; Random RD=new Random(); X[i]=RD.nextInt(); b. Define static void method called "PrintData" that takes 1D integer array then prints the array data. c. Define static void method called Print Prime" that takes an integer 1D array then prints prime(JlcyI . d. Define static double method called Average that takes 1D integer array then returns the average value of passed array elements. e. f. Inside the main function a. Define an integer 1D array of size 100 called Data b. Call the above methods by passing array Data" .values of the array data (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!