internal Book(string name) : base(name) { AuthorBehavior = new HasAuthors(); YearBehavior = new YearInfo(); }
internal NewsPaper(string name) : base(name) { AuthorBehavior = new NoAuthors(); YearBehavior = new YearInfo(); }
public NewsPaper(string name) : base(name) { AuthorBehavior = new NoAuthors(); YearBehavior = new YearInfo(); }
public Book(string name) : base(name) { AuthorBehavior = new HasAuthors(); YearBehavior = new YearInfo(); }