Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

You need to write a report which includes the source code and any notes.

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.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question