File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ranch Office and the fly likes Java Keyword(transient) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Java Keyword(transient)" Watch "Java Keyword(transient)" New topic

Java Keyword(transient)


Joined: Jun 29, 2001
Posts: 5
Respected Sir/Madam,
According to the book concept,transient variable can never be static.But,if you declare
transient static int a =10;
its getting compiled.I would like to know the internal concept of the above?
thanking you,
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
Your name "sanjaykumaresan" does not comply with the JavaRanch naming policy. Please spare a moment and re-register with a name that meets the requirements. We will take care of deleting your current login.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
Please use the JavaRanch forum for discussing site-related issues only. I moving this discussion to Java in General(beginner)
I agree. Here's the link:
subject: Java Keyword(transient)
jQuery in Action, 3rd edition