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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / shivendra
I think firstly when we write data into to excel it is not
to be saved in excel. So we need the save operation or we
can close the file after write operation and then open it
and read it.
Is it correct ans?
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / siva thimmannagari
i told the interviewer like- the thread which is going to
write to excel in SLEEP model.he told like there is no
sleep statement in between READ and WRITE..
i dont know the answer
Is This Answer Correct ? | 0 Yes | 1 No |
What is metaspace?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
Explain how will the struts know which action class to call when you submit a form?
What is checkpoint? How to create checkpoints in our java projects?
Explain the difference between object state and behavior?
What is colon_pkg_prefixes and what is its use?
what is a non-repeatable read?
What is ioc concept & explain it?
What are the various thread priorities?
difference between ejb,struts,hibernate,spring and jsp
What is ioc concept?
What are the JSP implicit objects ?