Discuss the below:
Q: Using Java write a program to create a file if it does not exist. Write 100 randomly created integers into the file using text I/O. Integers are separated by spaces in the file. Read the data back from the file and display the sorted data.