please help me how to make on how to get txt on a file...hoping for your positive responds.....
jemz
-1
Master Poster
Recommended Answers
Jump to PostYour question makes no sense. Rephrase it.
Jump to Post1. Use a File Object, connect it to the correct pathname of the file you want to read from.
2. Use a Scanner Object, when you create the Scanner, pass in the File Object you created earlier
3. Use Scanner's methods to read in the appropriate type.
All 6 Replies
BestJewSinceJC
700
Posting Maven
jemz
-1
Master Poster
BestJewSinceJC
700
Posting Maven
jemz
-1
Master Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
jemz
-1
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.