taking input from several files

Joined
Jun 14, 2008
Messages
2
Reaction score
0
hi buddies
i want to take input from several files.
I 've got a folder which has 5 files and I want to use them in my program as an input. I take the input from 1 file as
FileInputStream fstream = new FileInputStream("file.txt");
DataInputStream in = new DataInputStream (fstream);

now I have more files to take imput from..how do I do that??plzz help..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,821
Messages
2,569,725
Members
45,511
Latest member
Osiris-Team

Latest Threads

Top