@@ -0,0 +1,721 @@
+package ru.job4j;%0A%0A/**.%0A* Chapter_002%0A* Task 5.4%0A*%0A* @author Anton Vasilyuk%0A* @version 1.0%0A* @since 0.1%0A*/%0A%0Apublic class Triangle implements Shape %7B%0A%09/**.%0A%09* @height this shape%0A%09*/%0A%09private int height;%0A%09/**.%0A%09* Constructor%0A%09* @param height this shape%0A%09*/%0A%09public Triangle(int height) %7B%0A%09%09this.height = height;%0A%09%7D%0A%0A%09/**.%0A%09* Method for build triangle%0A%09* @param height triangle%0A%09* @return shape to paint%0A%09*/%0A%09public String pic() %7B%0A%09%09StringBuilder buildShape = new StringBuilder();%0A%0A%09%09String result = %22%22;%0A%09%09String temp = %22w %22;%0A%09%09String nextLine = %22%5Cn%22;%0A%0A%09%09for (int index = 0; index %3C this.height; index++) %7B%0A%09%09%09%09result = result + temp;%0A%09%09%09%09buildShape.append(result).append(nextLine);%0A%09%09%7D%0A%0A%09%09return buildShape.toString();%0A%09%7D%0A%7D

add file for chapter_002_2.5.4