- 3 Implement The Interface From Book And Reader Classes As Following A For The Book Class Sort Books Based On Publish 1 (21.6 KiB) Viewed 24 times
3- Implement the interface from Book, and Reader classes as following a. For the Book class: sort books based on publish
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
3- Implement the interface from Book, and Reader classes as following a. For the Book class: sort books based on publish
3- Implement the interface from Book, and Reader classes as following a. For the Book class: sort books based on publishing date such that all books published on the same year will be sorted based on the publishing month. If they are the same year and month sort based on the day. b. For the Reader class sort readers based on their ages. If two readers have the same age sort them based on their names. Main method to test your work A method called printLibBooks with the following header Public static void printLibBooks (Library [] lib) to print the books of the library which name starts with (p) and ends with wondes 4- Define test class that contains: رسانی وسم