Case classIris S·FollowFeb 7, 2023--ListenSharepromote parameter to fieldsensible to stringequals and hashcode implemented out-of-the-box4. have copy() method5. have companion object6. serializable. can send instance of case class in between JVM7. have extractor pattern