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

What is the purpose of the notify() method?

0 Answers  


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  


What is a modular application?

0 Answers  


If your ui seems to freeze periodically, what might be a likely reason?

0 Answers  


What is servlet preinitialization

1 Answers   iFlex,






how we can implement interface in jsp ?

2 Answers   Google,


Hi frnds ,iam new to java and j2ee ,my requirement is using java or any j2eetech how to lock an user when he enter wrong credentials(uname&password) more than 3 times.take the username and passowrd in a bean no need to conned Db kindly provide me sample application code or and ideas or links or tutorials plzzzzz urgent for me thanks in advance...

2 Answers   NSN,


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

1 Answers  


How to add new JTabbed pane?

1 Answers  


What is the need of serialize?

2 Answers   Wipro,


What is Remote Server?

0 Answers   TCS,


What is local interface. How values will be passed?

0 Answers  


Categories