| 1. |
How Do You Prove That By Default, Case Object Is Serializable And Normal Object Is Not? |
|
Answer» Yes, By DEFAULT, CASE Object is Serializable. But normal object is not. We can prove this by using isInstanaceOf method as SHOWN below: SCALA> object MyNormalObject Yes, By Default, Case Object is Serializable. But normal object is not. We can prove this by using isInstanaceOf method as shown below: scala> object MyNormalObject |
|