Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Interface Dictionary {
- ...
- public void insert();
- ...
- }
- public Class BSTree implements Dictionary {
- ...
- public void insert() {
- // some implementation here
- }
- ...
- }
- public Class AVLTree extends BSTree {
- ...
- public void insert() {
- // another implementation of insert
- }
- ...
- }
Add Comment
Please, Sign In to add comment