Implemented all methods marked with WIP
This commit is contained in:
@@ -11,7 +11,7 @@ public class DataSerializer {
|
||||
public static void serialize(Supervisor manager) {
|
||||
try (ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream("manager.ser"))) {
|
||||
oos.writeObject(manager);
|
||||
System.out.println("Manager object serialized successfully.");
|
||||
System.out.println("Supervisor object serialized successfully.");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user