How to read multiple objects stored in a file in Java ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to read multiple objects stored in a file in Java ?

I have stored multiple Objects in a .txt file. I want to iterate through the file and access each object stored in the file. Please help me how can i implement loop statement in this case.

26th Jul 2020, 10:04 AM
Ashutosh Raturi
Ashutosh Raturi - avatar
5 Answers
+ 1
Go to w3school website I suggest.
26th Jul 2020, 10:17 AM
shubham kumar
shubham kumar - avatar
0
File handling are you asking?
26th Jul 2020, 10:13 AM
shubham kumar
shubham kumar - avatar
26th Jul 2020, 10:13 AM
Ashutosh Raturi
Ashutosh Raturi - avatar
0
Right now, I can't answer I need to look into which I have learn't years back.
26th Jul 2020, 10:16 AM
shubham kumar
shubham kumar - avatar
26th Jul 2020, 10:33 AM
Ashutosh Raturi
Ashutosh Raturi - avatar