Version Control

Descrição

Class version control and deserialization in Java
desnunan
Quiz por desnunan, atualizado more than 1 year ago
desnunan
Criado por desnunan mais de 10 anos atrás
36
0

Resumo de Recurso

Questão 1

Questão
Which of these changes can hurt deserialization?
Responda
  • 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

Questão 2

Questão
Adding classes to the inheritance tree can hurt deserialization
Responda
  • True
  • False

Questão 3

Questão
Changing the access level of an instance variable can hurt deserialization
Responda
  • True
  • False

Questão 4

Questão
Which of these changes to a class do NOT hurt deserialization?
Responda
  • Changing an instance variable from transient to non-transient
  • Changing an instance variable to static

Semelhante

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