IN jAVA Language PLEASE
Write a JAVA program that implements the followingdisk-scheduling algorithms:
a. FCFS
b. SSTF
c. SCAN
Your program will service a disk with 5,000 cylinders numbered 0to 4,999. The program will generate a random series of 50 requestsand service them according to each of the algorithms you chose.
The program will be passed the initial position of the disk headas a parameter on the command line and report the total amount ofhead movement required for each algorithm.