software engineering
Budget: $10 – $30 CAD
1. The first step is to build a watcher to keep track of changes to a folder. You should keep an eye out for the following three types of modifications: adding a file, deleting a file, and making changes to a file (e.g., file size changes). For the sake of clarity, we believe that The directory only has files in it (not any other directories).
In the observer design pattern, the watcher might be regarded a topic. You must do so.
Implement a single observer that, when informed, prints a brief explanation of the changes.
(For example, File A has been added.) Java should be used to write your software. You'll require
to perform the task using the java.util.Observable class and the java.util.Observer interface
programme.
2. The second objective is to use the iterator design pattern to traverse the nodes of a binary search tree and output the keys (with in mind that keys are integer values). Your application should be developed in Java, and the java.util.Iterator interface should be used to complete it.
In the observer design pattern, the watcher might be regarded a topic. You must do so.
Implement a single observer that, when informed, prints a brief explanation of the changes.
(For example, File A has been added.) Java should be used to write your software. You'll require
to perform the task using the java.util.Observable class and the java.util.Observer interface
programme.
2. The second objective is to use the iterator design pattern to traverse the nodes of a binary search tree and output the keys (with in mind that keys are integer values). Your application should be developed in Java, and the java.util.Iterator interface should be used to complete it.