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

What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

589


What are the diff types of exception?

565


Which textcomponent method is used to set a textcomponent to the read-only state?

638


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

1364


What is ioc concept?

697






What’s jboss jbpm?

585


What restrictions are placed on the location of a package statement within a source code file?

622


What are the benefits of detached objects?

587


Java is fully object oriented languages or not?

542


what are RemoteObjects?

2262


What are the different approaches to represent an inheritance hierarchy?

592


What is abstract schema?

557


Explain about local interfaces.

593


What is colon_pkg_prefixes and what is its use?

1999


What is permgen or permanent generation?

587