This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi, you can read the file line by line and write everithing but the empty lines to a second file. or you can read all to a Vector (all but the empty lines) and when done, you write the contents of the vector back to the same file. you can read the file by creating a BufferedReader Object. you can write the file by creating a PrintWriter Object. (or other from the io familly, depends in the input/output you want and need) pascal