Can a class be declared with a transient modifier?
Explanation
Only class fields can be declared as transient. This keyword indicates that the value of the field does not have to be saved for serialisation.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes