Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transient Variables

 
Kush Kush
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the use of transient variables ? When shouls variable be declared transient ? Do it have any demerits ?
 
Tim West
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Transient variables aren't included in the object stream when an object is serialised.

--Tim
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic