class.plantuml 242 B

123456789101112131415161718
  1. @startuml
  2. class Library {
  3. +name: String
  4. +location: String
  5. +addBook(book: Book): void
  6. +removeBook(book: Book): void
  7. }
  8. class Book {
  9. +title: String
  10. +author: String
  11. +isbn: String
  12. }
  13. Library o-- Book : "0..*"
  14. @enduml