Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create an application named BookDemo that declares and demonstrates objects of the Book class and its descendents. The Book class includes auto- implemented properties for
Create an application named BookDemo that declares and demonstrates objects of the Book class and its descendents. The Book class includes auto- implemented properties for the International Standard Book Number (ISBN), title, author, and price. (An ISBN is a unique number assigned to each published book.) Create a child class named TextBook that includes a grade level and a CoffeeTableBook child class that contains no additional fields or properties. In the child classes, override the accessor that sets a Books price so that TextBooks must be priced between $20.00 and $80.00, inclusive, and CoffeeTableBooks must be priced between $35.00 and $100.00, inclusive. Be sure to use valid and invalid values when testing the child class properties.
please note question is based C# .NET
please take note question is based on C# .NET
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started