( Khalid , page 126 ) in KAM book , for transient variables , it is stated dat :
.... the transient modifier cannot be specified for static variables , as these do not belong to objects ....
I understand tht static-variables are not-saved while serialization , but compiler do not complain specifying static-vars to be transient , as transient static int i =0 ; is valid . ( any modification to above statement is not mentioned in KAM errata either ) any opinions ?
------------------ Gagan (/^_^\)
Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>