posted 22 years ago
Can transient modifier be specified for a static variable?
Acc.to mughal,transient modifier should not be specified to a static variable,as they don't belong to a class.
I did write a code using both modifiers and it compiles and runs without any problem.
Iam a little confused,pl.clarify.