Version Control

Descripción

Class version control and deserialization in Java
desnunan
Test por desnunan, actualizado hace más de 1 año
desnunan
Creado por desnunan hace más de 10 años
36
0

Resumen del Recurso

Pregunta 1

Pregunta
Which of these changes can hurt deserialization?
Respuesta
  • 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

Pregunta 2

Pregunta
Adding classes to the inheritance tree can hurt deserialization
Respuesta
  • True
  • False

Pregunta 3

Pregunta
Changing the access level of an instance variable can hurt deserialization
Respuesta
  • True
  • False

Pregunta 4

Pregunta
Which of these changes to a class do NOT hurt deserialization?
Respuesta
  • Changing an instance variable from transient to non-transient
  • Changing an instance variable to static
Mostrar resumen completo Ocultar resumen completo

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