Question: Write the following Book class: A Book has-a title, ISBN number, author, and price. CPS 2231-09 Computer Organization and Programming Fall 2017 Program #5 Assigned
Write the following Book class: A Book has-a title, ISBN number, author, and price.
CPS 2231-09 Computer Organization and Programming Fall 2017 Program #5 Assigned date: 2/15/2018 Due Date: 2/22/2018 Concepts: Classes and Objects Point value: 25 points Write the following Book class: A Book has-a title, ISBN number, author, and price. Include the following: All instance fields (variables) Two Constructors: a default constructor and one requiring all fields as parameters Methods - an accessor and mutator for each instance fields Please note the following requirements and how the assignment will be graded: The name of the class must be XXX Book where XXX is your Kean email id (1 point). Include a comment at the start of the program with the following (1 point): o Your name o A description of the class All instance fields (variables) included and of appropriate type (8 points) Two constructors included and coded correctly: a no-args constructor and one requiring a parameter for each instance field. All fields initialized (7 points) All methods (accessors and mutators) included and coded correctly (8 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
