Computer Science, asked by sandeep7428971193, 14 days ago

Which data member is used to enable future modifications in the Serializable classes?

(A) mutable

(B) serializable

(C) serialVersionUID

(D) changeLog​

Answers

Answered by payalmore127
1

maybe the ans is option A

Answered by mad210203
0

Serializable Classes

Explanation:

  • The serialization runtime buddies with every serializable magnificence a model number, known as a serialVersionUID,
  • That is used all through deserialization to affirm that the sender and receiver of a serialized item have loaded lessons for that item which are well suited with appreciation to serialization.
  • If the receiver has loaded a category for the item that has an exceptional serialVersionUID than that of the corresponding sender's magnificence, then deserialization will bring about an InvalidClassException.
  • A serializable magnificence can claim its personal serialVersionUID explicitly via way of means of affirming a subject named serialVersionUID that need to be static, final,
Similar questions