Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1 abstract class CalendarItem 2 public string Label get; set; h public string Da

ID: 3707599 • Letter: 1

Question

1 abstract class CalendarItem 2 public string Label get; set; h public string Date get; set; 4 public CalendarItem(string label, string date) Label label; Date = date; 10 12 13 public abstract string GetDescription); C# 1 class Appointment CalendarItem public Appointment (string label, string date) base(label, date) public string StartTime get; set; public string Note get; set; h 8 10 public override string GetDescription) 12 13 14 15 return $" Label,nDate: Date nStart: (StartTime Note: (Note)";

Explanation / Answer

Question 1
Answer:
Provides commo functionally in thee form of methods that are guaranteed to exist in all of the children
Links unrelated items through the use of an interfaceProvides a commn variabble that can hold any of the child types


Question 2
Answer:
breakpoint