2nd Oct 2021, 12:45 AM
DHEERAJ KUMAR
DHEERAJ KUMAR - avatar
3 Answers
+ 3
Here's your code fixed. But where is data.txt? Save that file in your device, and save your code in the same location and then try to compiler it using an offline compiler https://code.sololearn.com/cMnX11nwd7Ev/?ref=app
2nd Oct 2021, 2:12 AM
Rishi
Rishi - avatar
+ 3
Please tag Java rather than your name initials -> 'dk' ☝
2nd Oct 2021, 2:34 AM
Ipang
+ 1
File not found exception will be shown
2nd Oct 2021, 5:04 AM
Atul
Atul - avatar