K
Kizspy.me
Zoom
getType(): abstract, returns type of the Task ("Work" or "Personal") when implementing
this function in the subclasses.
2. Class: PersonalTask
Methods:
getInfo() → Example: "Personal: [<id>] <name> (location)
getType() Returns "Personal"
-
<status>"
3. Class: WorkTask
2 of 3
Paper No: 1
Methods:
-
getInfo()→ Example: "Work: [<id>] <name> (project) <status>"
getType() Returns "Work"
Q1
- String inputFile
-String outputFile
- int n
+ 100%
Close