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.
line 1 writes the quoted text in Shree.txt file
even though the text is read at line 2 it worksout to be that s is null at line 3 and
there is no output
my question is why s becomes null at line 3 what should be done to read Shree.txt file
I changed the while code at line 3
but now it doesn't print anything.
Joined: Jun 01, 2010
I think we've now fallen into the trap where you ask a follow-up question without first thinking it through yourself. Your problem now is not a misunderstanding about how an API works. It is a simple bug in your code.