Note: You should choose one object oriented programming language (C++, Java, C#, etc) to complete this assignment. You need to write a report which includes the source code and any notes. Also submit the source code along with other files if needed to run the program. a. Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data field. Also include a displayInfo method that displays each of the Book’s data fields with explanation. b. Design a class named TextBook that is a child class of Book. Include a new data field for the grade level of the book. Create a displayTextBookInfo () method so that you can accommodate the new grade-level field. c. Design an application that instantiates an object of each type and demonstrates all the methods.
Studyhope.com is a licensed Academic Writing Service created to offer academic help to students from all parts of the world. Our writing services are unique and offer more than just a piece of assignment. We have a pool of extremely qualified and experienced writers who do your assignments with dedication.
WEBSITE LIVE CHAT:
WHATSAPP: +1 (205) 286-5157
Any Given Deadline