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


Please Help Members By Posting Answers For Below Questions

Is main an identifier?

542


Is singleton class thread safe?

526


Justify your answer that you can't define a method inside another method in java, if you can then how?

596


How do you sort an array in java?

531


What does the append?

484






What is strings in java?

576


What is the difference between menuitem and checkboxmenu item?

769


When do I need to use reflection feature in java?

620


What is the difference between actual and formal parameters?

503


Can we print null in java?

561


What 5 doubled?

502


what is the difference between Object Based Language and Object Oriented Language?

591


What is java basic concept?

519


What are the types of literals?

552


How do singleton patterns work?

509