How can read line in file that line have recordor examplethe file:
date new_cases new_deaths
2020-07-30 665 10
2020-07-31 590 9
2020-08-01 - 0
2020-08-02 - -
2020-06-04 738 8
2020-06-05 779 -
2020-06-06 770 5
4 line it is not record new_cases or new_deaths so wae ignore the line also line 5 but line 6 we read because it has record>
after read this file the reasult is:
2020-07-30 665 10
2020-07-31 590 9
2020-06-04 738 8
2020-06-06 770 5
How can read read this line by java????