You are welcome.
Each time you call the readLine() method a line in your text file is read.
Your text file is:
and your code:
try {
while((r.readLine())!=null){
Type: Posts; User: andreas90
You are welcome.
Each time you call the readLine() method a line in your text file is read.
Your text file is:
and your code:
try {
while((r.readLine())!=null){
Hello beer-in-box!
It's pretty simple what is wrong with your code.
try {
while((r.readLine())!=null){
w = r.readLine();
System.out.println(w);