Place the Fragments into the program, so that the program will get lines from a text file. display them, and then close all the resources.
What is the result?()
A.Compilation fails. B.An exception is thrown at runtime. C.An instance of Forest is serialized. D.An instance of Forest and an instance of Tree are both serialized.
Which code, inserted at line 14, will allow this class to correctly serialize and deserialize?()
A.s.defaultReadObject(); B.this = s.defaultReadObject(); C.y = s.readInt(); x = s.readInt(); D.x = s.readInt(); y = s.readInt();