Find the bugs

  • 20
  • Locked
For some reason, errors are occurring when serializing/deserializing B objects. Find the problem and fix it. The A class should not implement the Serializable and Externalizable interfaces. There is no error in the B class's signature :). There are no errors in the main method.
You can't complete this task, because you're not signed in.
Comments (7)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Justin Smith
Level 39 , Greenfield, USA, United States
21 November 2021, 14:58
If you are having difficulty, don't be fooled by mislabeling. This task is very hard. Only 497 people have completed this task and the average number of attempts is >6. Definitely on the same difficulty level as most red tasks.
Dawid Bujnicki Junior Developer
12 August 2021, 11:01
https://www.linuxtopia.org/online_books/programming_books/thinking_in_java/TIJ314_037.htm This one helped me a lot, together with Skynet tip.
Mike S
Level 28 , Saint Louis, United States
24 March, 17:09
I wish I could say I really understood this article, but I did not. Regardless, it has all of the answers that Mr. Bujnicki promises! Sometimes, you just gotta go through the motions...
Skynet
Level 40 , USA
20 March 2020, 13:48
Bruce Eckel, Thinking in Java 4th Edition, p. 711 "An alternative to Externalizable".
Henrique
Level 41 , São Paulo, Brazil
9 July 2020, 17:05
Best hint! Thanks!
Attila
Level 25
29 July 2020, 02:35
Thanks. Same book, same edition, I had it on page 922.
Bart De Lepeleer
Level 30 , Belgium
16 December 2020, 16:32
😀