Given:
Which two are secure serialization of these objects? (Choose two.)
Given:
Which two are secure serialization of these objects? (Choose two.)
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.
A,B is true