Hi,
I have doubt in using transient n volatile modifiers
class Test
{
public static final transient int i=1;
public static final volatile int i=1; //line 1
}
If i use final n volatile ,having a comp err like
illegal combination of final and volatile.. line 1..while i dont have any problem with
final transient
I didnt understand the reason..Can anyone pls explain?
Thnx.
Mysha.