- Main:
Task.java(immutable),TaskList.java(mutable). - Tests:
TaskTest.java.
- Add
removeTask(String id)toTaskList. Test it. - Add
isCompletefield toTask(immutable). Test it. - Write a test in
TaskTestforequalswith different IDs. - Add
clearTasks()toTaskList. Test it. - Prepare a 1–2 min explanation on encapsulation (e.g., why
Taskhides fields).
- Main:
User.java(immutable),ProfileManager.java(mutable). - Tests:
UserTest.java.
- Add
removeProfile(String username)toProfileManager. Test it. - Add
displayNamefield toUser(immutable). Test it. - Write a test in
UserTestforequalswith different emails. - Add
updateProfile(User user)toProfileManager. Test it. - Prepare a 1–2 min explanation on encapsulation (e.g., why
Userhides data).
- Main:
Event.java(immutable),Scheduler.java(mutable). - Tests:
EventTest.java.
- Add
cancelEvent(String id)toScheduler. Test it. - Add
titlefield toEvent(immutable). Test it. - Write a test in
EventTestforequalswith different times. - Add
listEvents()toScheduler(returns event IDs). Test it. - Prepare a 1–2 min explanation on encapsulation (e.g., why
Eventhides fields).