Question: Create two Input files (each with 20 rows). Each file has data as following Name, Jhon Mark, 56 Adam, 87..... - Write Java code to

Create two Input files (each with 20 rows). Each file has data as following

Name, Jhon

Mark, 56

Adam, 87.....

- Write Java code to read above students data.

Task 1: Read the two files without using Threads and identify which student has the highest marks.

Task 2: Read the two files using two threads and identify which student has the highest makes.

Step by Step Solution

3.30 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1Note Please change the file path as per your system configuration otherwise it will throw an error ... View full answer

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 Programming Questions!