Marcus
What is the need of transient variables in Java ?
Posted by Marcus in Languages | Java on Jul 11, 2011
0
Do you know the answer for this question? Post it below.
Guest

Variables may be marked transient to indicate that they are not part of the persistent state of an object.
__________________________________________

MBA consultants in India

Posted by johnpaulmathew on Jul 20, 2011

If you mark an instance field of a Java class as 'transient', it means that it is not part of the persistent state of  an object of that class.

Its main use is when you're serializing an object. Any fields marked as 'transient' are simply ignored in the serialization process. This is equivalent in C# to marking a field with the NonSerialized attribute.

Posted by Vulpes on Jul 17, 2011

which type send me parkashravi4747@yahoo.com


when u achived

Posted by Ravi Prakash on Jul 12, 2011
Sponsored by
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Sponsored by
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PRIVACY POLICY | TERMS & CONDITIONS | SITEMAP | CONTACT US | REPORT ABUSE © 2011 C# Corner. All contents are copyright of their authors.