hi genius programmer,
I am working on my project on how to create an abstract class named book that includes private field for International Standard Book Number(ISBN), price, author and a protected field title. includes properties for each fields.(An ISBN is a unique number assigned to each published book . provide public get and set accessors for each field. create a subclass named TextBook that includes a private grade level field and a CoffeeTableSubclass that contains no additional fields. (note: you yourself have to decide your own data type and name field. in the subclass override the accessor method of the book's price so that TextBook must be priced between $20.00 and $80.00, inclusive and the CoffeeTableBook must be priced between $35.00 and $100.00, inclusive also provide get and set accessors for grade level field in the class named TextBook. overload constructors for all classes.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment