nerdexam
GIAC

GSSP-JAVA · Question #82

Which of the following statements about serialization are true? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. Transient variables cannot be serialized. C. Serializable is a marker interface and does not define any method. D. Static variables cannot be serialized. See the full explanation below for the reasoning.

Question

Which of the following statements about serialization are true? Each correct answer represents a complete solution. Choose all that apply.

Options

  • ATransient variables cannot be serialized.
  • BExternalizable is a marker interface and does not define any method.
  • CSerializable is a marker interface and does not define any method.
  • DStatic variables cannot be serialized.

How the community answered

(68 responses)
  • A
    74% (50)
  • B
    26% (18)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice