aspose file tools*
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Transient Variables" Watch "Transient Variables" New topic
Author

Transient Variables

Kush Kush
Greenhorn

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.

--Tim
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transient Variables