DEV Community

Charlie Barajas
Charlie Barajas

Posted on

JAVA UML and Why Its Important

The Java UML or Unified Modeling Language allows us to visualize class structure and field data types. Examples of common formatting are (+) for public and (-) for private vars.

  • setAge(newAge: int): void ---> public void setAge(int newAge)

  • calculatorTax(): double ---> private double calculatorTax()

  • getName(): String ---> public String getName()

  • count: int ---> public static int

  • getCount(): int ---> public static int getCount()

These are more examples but this is the essential JAVA UML notation.

Top comments (0)