Version Control

Beschreibung

Class version control and deserialization in Java
desnunan
Quiz von desnunan, aktualisiert more than 1 year ago
desnunan
Erstellt von desnunan vor mehr als 10 Jahre
36
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

Frage
Adding classes to the inheritance tree can hurt deserialization
Antworten
  • True
  • False

Frage 3

Frage
Changing the access level of an instance variable can hurt deserialization
Antworten
  • True
  • False

Frage 4

Frage
Which of these changes to a class do NOT hurt deserialization?
Antworten
  • Changing an instance variable from transient to non-transient
  • Changing an instance variable to static
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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