Reorder the following lines to make the serialization code correct.
Serialization basics
Play with streams
Report a typo
Put the items in the correct order
BufferedOutputStream bufferedStream = new BufferedOutputStream(fileStream);
FileOutputStream fileStream = new FileOutputStream(...);
objectStream.close();
ObjectOutputStream objectStream = new ObjectOutputStream(bufferedStream);
objectStream.writeObject(...);
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.