Design class for textbook-data field for grade level of book

Assignment Help C/C++ Programming
Reference no: EM1354337

Q1) 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.

Reference no: EM1354337

Questions Cloud

Compute the net proceeds : Northern Airlines is about to go public. It currently has after-tax receiving’s of $6,000,000 and 4,000,000 shares are owned by the present stockholders.
Balanced scorecard approach as an organizational consultant : Balanced scorecard approach as an organizational consultant - Show how the BCS approach works in technology organizations.prepare an overview document that you will provide the individuals who participate in your meeting.
What is the cannon ball''s speed when it hits the ground : What is the value? in this situation, the interference pattern yet appears showing that each individual electron can interfere with itself.
Elucidate what is the equilibrium price received : What is the equilibrium price paid by the demanders for merino ewes now. Elucidate what is the equilibrium price received by the suppliers for merino ewes.
Design class for textbook-data field for grade level of book : Design a class named TextBook that is child class of Book. Include new data field for grade level of book. Create a displayTextBookInfo () method so that you can accommodate new grade-level field.
Psycho-physiological disorders basics : Psycho-physiological disorders are categorized in the DSM-IV-TR under mental disturbances that arise from psychological dysfunction, existing disorders or other difficulties manifested through physical symptoms.
Self-managing team organizational paradigm : Describe the model's design based on the model, its implications for leaders and followers, literature review and gaps, and the ethical considerations.
Illustrate what is the after-tax market equilibrium price : Assume a per-unit tax of $2.00 is levied on the producers of Gadgets. Illustrate what is the after-tax market equilibrium price and quantity.
Introduction to neurological disorder : What neurological disorder, disease, or accident took place to interrupt this individual's ability?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program that inputs a dollar amount to be printed

Write a program that inputs a dollar amount to be printed on a check and then prints the amount in check-protected format with leading asterisks if necessary

  Determine the meaof the numbers in the array

Determine the mean(average) of the numbers in the array, and output the reslt. Use a subprogram to input the numbers, a function to find the mean.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Prepare an arbitrary sinusoidal waveform

Create a program to compute the derivative of an arbitrary input function, with arbitrary duration and arbitrary limits

  Calculate the component voltages

Calculate the component voltages for the following series resonant RLC circuit

  Writing function that computes leap years

Write down function that computes leap years. Function prototype is as follows: Write function body which returns true if year is a leap year and false if year is not a leap year.

  Implement a semantic analysis

The program will implement Semantic Analysis. The assignment provides two options to define variable scope, either using the Global Option or the Local Option.

  Computing value of the return statement

In the following code snippet, what is the value of the return statement for x = 4 and n = 4? int foo(int x, int n)

  Calculation of mortgage interest rates

Instruction of pointers and the calculation of mortgage interest rates.

  Main function to input twenty integers in given range

Write a main function to input 20 integers in range of 1-6, function should count number of times the numbers 2 and 5 occur. function must declare statics variables count2 and count5.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd