How do you prove that by default, Case Object is Serializable and Normal Object is not?
Answer Posted / Abhinav Pal
By default, a Case Object in Scala extends the java.io.Serializable interface, making it serializable. A normal object does not extend this interface unless explicitly declared.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers