Hi Jordan,
The
java compiler won't stop you from doing it, but logically it doesn't make sense. Transient variables only relate to an objects' state. Class variables (static) don't relate to state because only one exists for all objects of that class type. Therefore, you are telling the serialization method not to serial a variable that it won't serialize anyway!
Regards,
Manfred.