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 is an objects lock and which objects have locks? : Java thread

956


How does a for loop work java?

997


What are different types of multitasking?

917


What is the difference between the boolean & operator and the && operator in java programming?

999


What is the difference between a loader and a compiler?

984


What is the generic class?

916


Can inner class be public in java?

987


Is java hard to learn?

869


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

897


How concurrent hashmap works?

1131


Why do we need wrapper class?

949


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1195


What is the preferred size of a component in java programming?

964


What is data and its types?

959


How are variables stored?

932