java code for reading text
<p>i need a sample code for this</p>

<p>if text file is not empty then string s = first line of text of the text file.</p>

<p>please help me out.</p>

<p>ok not a homework question i am not looking for the solution just point me to the correct reference material.</p>
