wood burning stoves 2.0
The moose likes Java in General and the fly likes Transient Variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Transient Variables" Watch "Transient Variables" New topic

Transient Variables

Kush Kush

Joined: Apr 27, 2004
Posts: 11
What is the use of transient variables ? When shouls variable be declared transient ? Do it have any demerits ?

Smile with JAVA
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
Transient variables aren't included in the object stream when an object is serialised.

I agree. Here's the link: http://aspose.com/file-tools
subject: Transient Variables
jQuery in Action, 3rd edition