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