Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What carriage return means?

965


When arithmeticexception is thrown?

1034


Is arraylist sorted in java?

1005


What is the symbol for average?

1030


How many days will it take to learn java?

935


How do I type unicode?

982


What is use of static in java?

1175


What is meant by data hiding in java?

1158


Tell us something about set interface.

997


Why are the methods of the math class static?

1077


How to call one constructor from the other constructor ?

1067


What is the default size of set in java?

967


What is bitwise complement?

987


Does list maintain insertion order java?

917


How to remove the trailing spaces from a string?

1274