Please have a look at the Triangle.java, TriangleTester.java programs and the corresponding UML class diagram and object diagram.
http://www.cord.edu/faculty/shanmuga/csc125a/slides/FundamentalDataTypes/Triangle.java
http://www.cord.edu/faculty/shanmuga/csc125a/slides/FundamentalDataTypes/TriangleTester.java
getName() is an instance method of Tiangle class and is defined in both in class and objects of Triangle class. You can see this method in both class and object diagram.
getArea is a static method and is defined only in the class. Hence, you can see this method only in the class diagram and not in the object diagram.
Consider the following links:
a) Naming convention
x) or out to Introduction to Static methods