aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Transient Keyword Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Transient Keyword" Watch "Transient Keyword" New topic
Author

Transient Keyword

Varun Garg
Greenhorn

Joined: Jul 30, 2008
Posts: 16
Hey Guys,

Can you please give me working code a example of transient keyword.

Thank You


Regards,<br />Varun garg<br />MS in Computer Science<br />SCJP - 1.4 @ 91 %
amit k prabhat
Greenhorn

Joined: Aug 09, 2008
Posts: 6
check the following link
Demonstrates Transient keyword example
Mario Razec
Greenhorn

Joined: Aug 01, 2008
Posts: 17
Detail:
Object needs to be serializable (writing the state of an object)

So When use modifier Transient you not will get serializable your object...
it won't be transmitted in the byte stream to wherever the object is destined.
Means we cannot change the value and this variable can not be stored in a memory.

Checking Example of our friend: amit k prabhat..

see ya
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

"Razec", please check your private messages for an important administrative matter. Again.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transient Keyword