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 / s.ramesh
We have to implement serializable interface
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can java inner class be static?
What is collection sort in java?
What is an immutable object? How do you create one in java?
Define immutable object?
Who found java?
What are the advantages of arraylist over arrays?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
What are the differences between heap and stack memory in java?
Where and how can you use a private constructor?
Which class is the superclass for all the classes?
What is variable length arguments in java?
What is a boolean field?
What is java util hashmap?
Where are local variables stored?
What an i/o filter in java programming?