Classes themselves cannot be transient. The 'transient' keyword applies to fields in serialization (like Java), indicating which fields should not be serialized. A class as a whole is not marked transient - only individual member variables can have this modifier.