Saturday, September 14, 2013

Example1 of Serialization


Step1. First, we create a class so that its object can be used.
Here we create a class named Company.
 
Now we can use the object of class Company
Step2.Write a function that will save Company’s object to Xml
 
3.After execution of this piece of code, we can see the obtained result in XML format.



No comments:

Copyright © Codingnodes,2014.All Rights Reserved.