Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 508 Bytes

File metadata and controls

8 lines (6 loc) · 508 Bytes

Interview Question

Exercise #1:

Write a Main class that will serialize the list of the employees in the factory to a file using java.io.Serializable.
You must serialize the Department class as part of the employee serialization.

Exercise #2:

To keep the length of the serialized list to a minimum when serializing a Department serialize only the department ID. When deserializing use the DepartmentDAO to get the instance.