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
Is oracle java 11 free?
Explain, java is compatible with all servers but not all browsers?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
How big is a gigabyte?
What is the use of protected in java?
What is the default access specifier for variables and methods of a class?
How to set the permissions to a file in java?
What about interrupt() method of thread class ?
Difference between a process and a program?
Why wait and notify methods are declared in object class?
How do you escape json?
Explain illegalmonitorstateexception and when it will be thrown?
What is data and its types?
What is the difference between sleep and wait in java?
What are runtime exceptions?