Exam 1z0-816 All QuestionsBrowse all questions from this exam
Question 32

Given:

Which two are secure serialization of these objects? (Choose two.)

    Correct Answer: A, B

    To ensure secure serialization of objects in Java, you can follow several approaches. Defining the serialPersistentFields array field can help control the serialization process more explicitly, enhancing security. Declaring fields as transient ensures that they are not serialized, thus protecting sensitive information from being included in the serialized output. These two methods are effective and secure practices for handling serialization.

Discussion
Sa16253748596Options: AB

A,B is true