How to create a UML? i have tried on net beansim using windows IN the exercise that follow do the following:

Design a UML class diagram for the leading class. Design a pseudocode algorithm for any method that will have two or more statements. Design a pseudocode algorithm for the test class where one is not provided. Write comments where appropriate. Do not over indulge. Apply JLCs for naming the class, the variables, and the methods.

Write a Java program that can be used to find the area and perimeter of a rectangle. In designing your program, given consideration to the following:

Write a class called Measurement with the following features:

Member variables – length, width, area, and perimeter. Constructor that accepts the length and width of each rectangle. Instance mutate method calculates that computes the area and the perimeter of a rectangle. Instance mutate methods, one to change length, and the other to change the width. Accessor methods that returns the value of each variable.

DO NOT SUPPLY A TEST CLASS – IF YOU DO, IT WILL NOT BE CONSIDERED A PART OF THE SOLUTION