Create TriangleObject.java