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



iam writing the contents to a excel through I/O i am putting first statement as WRITE and then REA..

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

iam writing the contents to a excel through I/O i am putting first statement as WRITE and then REA..

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

iam writing the contents to a excel through I/O i am putting first statement as WRITE and then REA..

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

Post New Answer

More Advanced Java Interview Questions

whats is mean by object and class?

1 Answers   Saka Solutions,


how the mapping can be done from jsp to actionservlet?

2 Answers   SolutionNET,


list the types of dialodg

1 Answers   Wipro,


What are the types of data passing mechanisams under JMS specification?

1 Answers  


What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,






What are the high-level thread states?

1 Answers  


How to synchronize jsp page?

1 Answers   Infotech, TCS,


a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??

2 Answers  


Can I use multiple html form elements with the same name?

0 Answers  


whats is stored procedure,joins

1 Answers   Photon,


What event results from the clicking of a button?

0 Answers  


Explain the life cycle of servlet?

3 Answers   Cognizant, HCL,


Categories