Description of the problem: Consider a computer system used to manage loans for a library. Libraries loan books, CDs, DVDs, videos and magazines to registered members. The library needs to monitor which items have been loaned out and which are still available in the library. The library also needs to keep track of who has borrowed an item and when it is due back. When an item is returned, the system needs to determine whether the item was returned late and, if so, send a penalty notice to the member. I need to Draw a class diagram to represent this system.
Class diagram-lending library is formulated.