please help me how to make on how to get txt on a file...hoping for your positive responds.....

Your question makes no sense. Rephrase it.

oki how to read text on a file?

1. 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.

ahm thanks for the reply but what if im not using an object....example this is print on the file.. michael shane 25...so i want to print that in console can you help me on this?hoping for your positive responds

You still need to create a File object if you want to read it. How else will you?
Have you tried to look at the API of the classes mentioned and follow the steps provided?

oki thanks i will try this

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.