Professional Documents
Culture Documents
Technology.
Programming Language#1 (ITCS1315)
Final Project
4- Generate full report and save the result to file with name "report.dat".
2. Book Class
3. Person Class
4. Student Class
5. Author Class
6. Process Class
2
3- Abstract class.
4- Method overriding such.
5- Constructors: default and other needed constructors in each class.
6- Arrays of objects.
7- Aggregation.
8- Mutators & accessors for needed fields in each class.
9- Arrays or Array list to store student’s objects & book objects in main method.
10- Loops.
11- Files [using I/O Exception] & any needed Exception.
Classes Details
Fields: [book ID, name, category, author, publisher, edition year, price, quantity
and students]. Author should declare as object from author class, students should
declare as array of object from Student class.
Constructors: no-args constructor, constructor that takes all fields and store
it in the class.
Mutators & accessors methods.
toString(): to print Book details.
Other methods.
3
Fields: [Student ID, specialization, student-enrolled date and budget].
Constructors: no-args constructor, constructor that takes all fields and store it
in the class.
Mutators & Accessors
Print student details.
Process class
Library class [that contains main method].
Important Notes:
You should allow user to:
1. Show Books
2. Add a Book
3. Delete a Book
4. Search for a book
5. Buy a Book
6. Show Students
7. Add a Student
8. Full Report
9. Exit
Student class and author class should be inherited from person class.
After exiting the program, the objects data is saved to a file; when the program is run
again, the data stored in the file, if any is retrieved.
4
Required from you to be submitted for me:
UML Diagram.
Project [all the project folder with the file inside should be compressed and
submitted as .zip or .rar].
مالحظات مهمة:
ً
المشوع فردي والمشاري ع المكررة مرفوضة نهائيا. ر
المشوع يف موعد أقصاه .2022/05/12 ُيسلم ر
ر
المشوع عليه 5درجة.
ً
سيتم تحديد آلية المناقشة الحقا.
5