How can you read content from file in java?
Answer / Md. Ehsanul Haque
"To read content from a file in Java, use the FileReader and BufferedReader classes:
1. Create a FileReader object to read from the file.
2. Wrap the FileReader with a BufferedReader to improve performance.
3. Use the readLine() method to read each line of the file into a String."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the applet security manager, and what does it provide?
Which methods cannot be overridden in java?
Why do we use variables?
while creating thread why we extend thread class
can two class in a code be public??if yes then how??
How can we make a class virtual?
Different types of Layouts?
Explain Method Overloading in Java.
What is the gregoriancalendar class in java programming?
Can you access the private method from outside the class?
What is the difference between parameters and arguments ?
What is scanner in java?