Hi Madhu, You must not have been looking very closely at the results. Lets show a simple example. The original file.txt contains the following single line of text: Madhu Avula Now we run case number 4:
The file now contains the single line of text: Madhu AvulaFINAL TEXT So far so good, now we will run the case number 5:
The file now contains the single line of text: Madhu AvulFINAL TEXT Something is different here ... the comparison between the two is left as a homework assignment for the student. Now read the question very carefully:
Which of the following code segments will correctly write the text "FINAL TEXT" to the end of a file "file.txt ?
Joined: Apr 24, 2002
Hi Manfred, thank's for u'r explanation.it's very clear.i got it. thanks a lot madhu