Use transient keyword in not Serializable class <p>Would it make sense to use the <code>transient</code> keyword in a class that does not implement <code>Serializable</code>? </p> <p>Because classes that do not implement <code>Serializable</code> could still be serialized by the <code>ObjectOutputStream</code>.</p>