Reading details from a file using java

Question:

This code reads the file details and displays the content of the file.

Hi there

27th January 2018

This is where you should save the file. Just create a new text file with any content you like. Call that file from your java program.

30th July 2017

Leaderboard

Rank Username Points
1Kavenasiva2915
2Kavitha1390
3celine_lou.616990
4Vaishu 855
5cassiopeia360
6Stevie255
7MOGAN_RAJ175
8singamsingu165
9Preshan96135
10madhu490
11Haresh75
1275
13Haneish60
14Mr.R60
15MingXuan45
16Sudheish 45
17troytan9845
18Aswwinyy30
19Carmen140630
20Anushka_Rao30