38 2.2 Class diagrams in Java I The static information of a class diagram can be translated directly into Java. I The code skeleton has no implemented methods. 2.2.1 Declaring…