Selasa, 24 April 2012

Line numbers and text files Java

I'm studying for my finals and i wondering if there is a particular way of printing out the data of a line in a text file. for example if i had the following in a text file: 11 1c20 203 G2 I was wondering if there is a way where I input for example 2 ,4 i would get an output 1c20 203 G2. by using two integers start and finish. i have research for this method, but unable to find anything.

0 comments:

Posting Komentar