The fourth programming project involves writing a program that behaves like the Java command line compiler. Whenever we request that the Java compiler recompile a particular class, it not only recompiles that class but every other class that depends upon it, directly or indirectly, and in a particular order. To make the determination about which classes need recompilation, the Java compiler maintains a directed graph of class dependencies. Any relationship in a UML class diagram of a Java program such as inheritance relationships, composition relationships and aggregations relationships indicate a class dependency.
The GUI must be generated by code that you write. You may not use a drag-and-drop GUI generator.
Pressing the Build Directed Graph button should cause the specified input file that contains the class
dependency information to be read in and the directed graph represented by those dependencies to be
built. The input file associated with the above example is shown below:
Get Free Quote!
319 Experts Online