iam writing the contents to a excel through I/O
i am putting first statement as WRITE and then READ(from
excel) immediately..later user complains that he is not
getting the date by using READ ..wat could be the situation

Answer Posted / dharmender

in this case, after write statement we can put flush statement to force the buffered bytes to be written. then the read statement will show the date.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are we allowed to change the transaction isolation property in middle of a transaction?

561


How to pass parameters in RMI?

1686


What are the steps to write p-to-p model application?

1955


Define prototype?

583


What is the infobus?

610






What is the difference between static and non-static with examples?

1358


what is a non-repeatable read?

1826


What is the relationship between an event-listener interface and an event-adapter class?

554


What are the design considerations while making a choice between using interface and abstract class?

541


What is the difference between a static and a non-static inner class?

594


whats is statement and procedure

1585


Which are the different segments of memory?

593


What is aop(assepct oriented programing)?

578


what is an isolation level?

2211


How are commas used in the intialization and iteration parts of a for statement?

581