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 is an objects lock and which objects have locks? : Java thread
How does a for loop work java?
What are different types of multitasking?
What is the difference between the boolean & operator and the && operator in java programming?
What is the difference between a loader and a compiler?
What is the generic class?
Can inner class be public in java?
Is java hard to learn?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
How concurrent hashmap works?
Why do we need wrapper class?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is the preferred size of a component in java programming?
What is data and its types?
How are variables stored?