static void Main(string[] args) { var realHoliday = new ActuallyGo(); realHoliday.BookHotel(); realHoliday.GetMoney(); realHoliday.GetThere(); realHoliday.VisitNamibia(); }
static void Main(string[] args) { //var abstractHoliday = new Holiday(); this does not work //abstract class : CODE MISSING var realHoliday = new ActuallyGo(); realHoliday.BookHotel(); realHoliday.GetMoney(); realHoliday.GetThere(); realHoliday.VisitNamibia(); // concrete class (ALL CODE COMPLETE) }