Question: Can anyone help me with this java program? Write a program to generate 20 random numbers between 1 and 50, write them to a binary
Can anyone help me with this java program?
Write a program to generate 20 random numbers between 1 and 50, write them to a binary file and then read the numbers back from the file to display them on the screen along with the frequency of occurence of each number in a nice format. Use the Random class in java.util package for random number generation.
The program must contain comments specifying what the code does.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
