I have a Person object with 5 variables and I want to store
them in a file called Person.txt. What should I do?
Answer Posted / puneet
outpurstreamobject.writeobject(object o);
flush//;
close//;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the java ide's? Explain
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What is the output of the below java program?
Why does java does not support multiple inheritance? Explain
Can you start a thread twice in Java?
Is string passed by reference in java?
What is the use of singleton class?
what is the difference between preemptive scheduling and time slicing? : Java thread
What was java originally called?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
Can I declare a class as private?
What is palindrome in java?
What an i/o filter in java programming?
What are static initalizers in java ?
What is the concatenation operator in java?