Question: Java program. Read from a file, sort it and output to another file, this program should read names and last name and ID (max of
Java program.
Read from a file, sort it and output to another file, this program should read names and last name and ID (max of 8 integers) on the same line of a text file and sort using the ID number, putting manager first and every other person below the manager.
sample input:
victor frank 2367897
greg peter 3467654
david Osborn 9876543
(manager) peter osas 177340
Sample output:
peter osas 177340
victor frank 2367897
greg peter 3467654
david Osborn 9876543
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
