The Workshop provides quiz questions to help solidify your understanding of what was covered in this hour. Answers are provided in Appendix A, "Quiz Answers."
1: | How can you determine at runtime whether an object is serializable? (Hint: Look at the Type class.) |
2: | If you don't want to apply the NonSerializable attribute to several data members, how would you ensure that those values will not be serialized? |
3: | Explain what happens when you serialize an object, add or remove a member variable to that object, and then attempt to deserialize it? |
Top |