Results 1 to 1 of 1
Thread: transient keyword
-
transient keyword
transient is used to indicate that a variable should not be persisted when object is serialized. Serialization converts the object state to serial bytes which are used for network communication.
Java Code:public class MyClass { private String studentName; private transient String tempName; private transient int tempAge; … }
Similar Threads
-
Keyword : volatile
By peiceonly in forum Advanced JavaReplies: 14Last Post: 01-18-2011, 06:15 PM -
finalize keyword
By bugger in forum New To JavaReplies: 6Last Post: 10-01-2008, 12:28 PM -
Demonstration of the transient keyword
By Java Tip in forum java.langReplies: 0Last Post: 04-16-2008, 11:09 PM -
Use of this keyword
By Java Tip in forum Java TipReplies: 0Last Post: 11-18-2007, 07:32 PM -
keyword color changer
By aisaki in forum New To JavaReplies: 0Last Post: 08-05-2007, 03:12 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks