Question: I am trying to implement a Template Method for Records in Library System (such as item/loan/reservation records). I have search() and display() as abstract methods

I am trying to implement a Template Method for Records in Library System (such as item/loan/reservation records). I have search() and display() as abstract methods because each control class will have to search something different (such as item, borrower, etc) and will display something different. I am just unsure if I am on the right track with implementing this pattern.

I am trying to implement a Template Method for Records in Library

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!