Version Control

Description

Class version control and deserialization in Java
desnunan
Quiz by desnunan, updated more than 1 year ago
desnunan
Created by desnunan about 10 years ago
36
0

Resource summary

Question 1

Question
Which of these changes can hurt deserialization?
Answer
  • Adding new instance variables to the class
  • Deleting an instance variable
  • Removing classes from the inheritance tree
  • Changing a non-transient instance variable to transient
  • Changing a class from Serializable to not Serializable

Question 2

Question
Adding classes to the inheritance tree can hurt deserialization
Answer
  • True
  • False

Question 3

Question
Changing the access level of an instance variable can hurt deserialization
Answer
  • True
  • False

Question 4

Question
Which of these changes to a class do NOT hurt deserialization?
Answer
  • Changing an instance variable from transient to non-transient
  • Changing an instance variable to static
Show full summary Hide full summary

Similar

Java Week 5 Object Oriented Programming
Troy Bowlin
Making a GUI
desnunan
Java Practice 1
Ummm No
PEGA CSSA Prep
Wendell Phipps
Getting a User Event
desnunan
Listener
desnunan
Paintable Widgets
desnunan
Handling Swing Component Events
desnunan
Playing with Swing Components
desnunan
Make a JScrollPane
desnunan
Java Practice 2
Ummm No