You have identified the objects and their members in the previous module. In this module, let us start the project by first creating the two main important objects – User and Admin
Steps to be followed in this module:
Steps to be followed in this module:
- Create a base class called Person, by identifying the common attributes of user and admin
- Create 2 derived classes called, User and Admin, for the above given base class
- Write the code for the Interface Menu.
- Initialize the system by creating an object for Admin class
- Save the Admin object in a file
- Create two interfaces where one is for Admin and the other is for User
- Login as the Admin and do the following
- Add new users
- Save the objects to the file
- Display the User Details. To achieve this read the details from the file sequentially as objects and display the details in a tabular format.
- Logout from Admin Interface and login to the User Interface. Do the following:
- Display his own details
- User should be able to change his own details.
Comments
Post a Comment