Which of the following statements about serialization in Java is correct?
1
Serialization is the process of turning an object into a data structure (e.g., array).
2
Serialization in Java is a process that allows the JVM to save the state of an object as a string.
3
Serialization is the process of converting an object into a byte stream.
4
Serialization converts static fields of a class into a format that the JVM can ignore.