Serialization is prohibited

  • 6
  • Locked
Block serialization of the SubSolution class using the NotSerializableException. Don't change the method signatures.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Adrian
Level 27 , Spanish Town, Jamaica
9 December 2020, 02:44
Interestingly, if you try to handle the exception with try-catch, instead of declaring it in the method signature, the task fails.