PRO192_-_PE_-_SU_2025_3983.webp
Nanami871

PRO192_-_PE_-_SU_2025_3983.webp

Zoom
Kizspy.me
Methods:
⚫ markDone(): marks the task as completed.
⚫ isDone(): returns the status of the task.
getId(): returns the task ID.
getName(): returns the task name.
getInfo(): abstract, return the information of the Task formatted as required when
implementing this function in the subclasses.
getType(): abstract, returns type of the Task ("Work" or "Personal") when implementing
this function in the subclasses.
2. Class: Personal Task
Methods:
-
getInfo()→ Example: "Personal: [<id>] <name> (location) <status>"
getType() Returns "Personal"
3. Class: WorkTask
2 of 3
Paper No: 1
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
Nanami871
Ngày thêm
Lượt xem
4,644
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom