Question: is scala case class serializable?
Answer: case class automatically extends two traits, namely Product and Serializable . ... Serializable trait is extended so that case class can be treated as a pure data - i.e capable of being serialized. Unlike case class Dog and Cat , your trait Animal does not extend Product or Serializable .