Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter1: A First Program Using C#
Section: Chapter Questions
Problem 7RQ: The technique of packaging an objects attributes into a cohesive unit that can be used as an...
icon
Related questions
Question

1

I need the code in Java for this digram for the system library, but the code must contain the details in the table shown, as well as a screenshot in netbeans 

Library
-location
-librarian id
Books Database
-book Title
-bookAuthor
-bookld
+update()
Librarian
-name
-librarian id
+issueStatus()
+searchBook()
+verifyMember()
+issueBook()
+payment()
Patron
-details
-patronld
+search()
+request()
+payFine()
Vendor
-bookDetails
+search()
+supplyBooks()
+paymentDetails()
Patron Record
-patronld
-type
-dateOfMembership
-noBooksIssued
-maxBookLimit
-name
-address
-phoneNo
-finesOwed
+retrieveMember()
+increase Bookslssued()
+decreaseBooklssued()
+payFine()
Transcribed Image Text:Library -location -librarian id Books Database -book Title -bookAuthor -bookld +update() Librarian -name -librarian id +issueStatus() +searchBook() +verifyMember() +issueBook() +payment() Patron -details -patronld +search() +request() +payFine() Vendor -bookDetails +search() +supplyBooks() +paymentDetails() Patron Record -patronld -type -dateOfMembership -noBooksIssued -maxBookLimit -name -address -phoneNo -finesOwed +retrieveMember() +increase Bookslssued() +decreaseBooklssued() +payFine()
Fields with proper data types
at least 4 fields for the superclass
at least 2 fields for other classes or subclasses)
User-defined Methods with proper return
types and scope
at least 2 user-defined methods for each class
Implementation of a User Defined Package
Demonstration of OOP feature 1
(Encapsulation)
Demonstration of OOP feature 2 (Inheritance)
Demonstration of OOP feature 3
(Polymorphism)
Proper naming convention
Proper comments in each program and within
the program
Transcribed Image Text:Fields with proper data types at least 4 fields for the superclass at least 2 fields for other classes or subclasses) User-defined Methods with proper return types and scope at least 2 user-defined methods for each class Implementation of a User Defined Package Demonstration of OOP feature 1 (Encapsulation) Demonstration of OOP feature 2 (Inheritance) Demonstration of OOP feature 3 (Polymorphism) Proper naming convention Proper comments in each program and within the program
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,