From the course: Java 8 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Visualizing class relationships

Visualizing class relationships - Java Tutorial

From the course: Java 8 Essential Training

Start my 1-month free trial

Visualizing class relationships

- Before I continue working with the actual programming, I'd like to show you a little bit of visualization of class relationships. The relationship between a main class and a helper class. In this project, ClassRelationships, I've changed the location of the class files. I've eliminated the packages and I've placed both class files, Calculator and MathHelper, in the root folder of the project. The Calculator class is here and I'll open it in a generic text editor and show you that there is no package declaration at the top. And the same thing is true for MathHelper. With no package declaration, it means that both classes are at the root of the project. Now, to visualize the relationship between the classes, I'll open BlueJ, the other development environment I suggested you install at the beginning of the course. And then, I'm going to import that project. I'll select Project, Open Non BlueJ. And then I'll navigate to my desktop, then to Exercise Files, Ch09, 09_04…

Contents