127k views
0 votes
Which of the following statements is NOT true? A. A static variable is not serialized. B. The methods in an object are serialized. C. An object must be an instance of Serializable or Externalizable for it to be serialized. D. All of these

1 Answer

4 votes

Answer:

The answer is "Option A".

Step-by-step explanation:

The static variable is also known as a variable, that could be used to describe the common property of all items, during the time of object initialization, this variable only stored once in the class field, that's why "option A" is incorrect, and other were correct which can be explained as follows:

  • In option B, It is also known as a procedure, which means are series.
  • In option C, It is an abstract datatype, that describes the instance of series.
User Josh Pittman
by
4.5k points