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, M.Sanjay.
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. Thanks! Ajith
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Joined: Mar 17, 2000
Please use the JavaRanch forum for discussing site-related issues only. I moving this discussion to Java in General(beginner) forum.