
Hi,
As a beginner I want to learn about Java programming and make a program for reading a text file in java. What is the best way for reading file in Java?
Thanks

The best way to read java is to use the BufferedReader class.
Read more at Read File in Java.
View complete tutorial on Java File - Learn how to handle files in Java with Examples and Tutorials.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
