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,
First of all, you need to go over to the Java In General (Beginner) forum and ask this question. THIS forum is for conversation about running JavaRanch. When you re-post your question, be sure you tell us WHAT book said such a thing - or perhaps you ought to re-read that section.
"JavaRanch, where the deer and the Certified play" - David O'Meara
These are the worst of times and these are the best of times. And this is the best tiny ad: