Hi, I read in RHE that transient variables may not be static or final. But why does the following line compile ? final static transient int i = 10; Thanks Milind
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
Hi Milind, Though there is no current implementation of this specification, static transient are allowed and compile just fine. Regards, Beno�t
Jonathan Jeban
Ranch Hand
Joined: Oct 08, 2000
Posts: 52
posted
0
Hi, Transient variables can be both final and static. RHE have corrected this in their errata.(They have asked to ignore that statement)