i ve been trying to find a way to successfully read text files and the be able either to read their data on screen or write their data to another text file.unfortunately i have not achieved yet.could anybody please write me a simple example of java code which reads for example the first,third and fourth line of a text file and another program that reads and writes the same lines to another text file?how can i read the entire file contents?
i am sorry i am asking so many things but i am disappointed and confused....
thanks in advance guys
