Originally posted by Jim Dong:
in your message, your design is:
- DATABASE functionality: (database operations)
*Database interface -> which has definitions of all the public methods of the Data Class along with lock, unlock and criteriaFind method definitions.
*DatabaseImpl Class -> extends Data class and implements the Database interface. Overrides lock, unlock methods and implements the criteriaFind method. (so basically I do not change anything in the Data class).
I have a question:
Since your Database interface AND Data class both have lock/unlock and criteriaFind methods, how do you extend Data class and implement Database interface at the same time for DatabaseImpl class? Please clarify a little bit.
Thanks in advance.
[This message has been edited by Jim Dong (edited July 30, 2001).]
I think he's gonna try to grab my monkey. Do we have a monkey outfit for this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton