C++ BASIC programming
For this assignment you need to create a header file for two classes:
1. Textbook
2. BankAccount
The header files should be created using the Class Name as the file name (i.e. Textbook.h for the class ‘Textbook’ and BankAccount.h for the class ‘BankAccount’).
In these files you should identify the class, the attributes, and the methods. Each class should consist of at least:
· 5-7 attributes (data type, attribute name, and an in-line comment identifying the attribute)
· A parameterized constructor method (note the constructor method ALWAYS has the same name as the class). The parameters should consist of the minimum set of information needed to create (or construct) an object of that class (e.g. for an automobile the minimum information may include the make, model, year, color, and VIN. For a student, the minimum information may consist of first, last, gender, DOB, and student id).
· 3-4 ‘accessor’ methods. These should be appropriately named and include an in-line comment identifying what value(s) are being returned. These methods should be parameter-less (no parameters) as they would be used for retrieving values, not setting values.
· 3-4 ‘mutator’ methods. These should be appropriately named, include any parameters needed to update/set the object’s attribute(s), and include an in-line comment explaining what attributes are being modified.
You are being graded on the conceptual creation of these classes. You are not expected to write the source code to implement each method.
Submit your header files (*.h) as attachments to this Blackboard assignment.