public class TriangleUtilities { public static String getRow(int numberOfStars) { StringBuilder triangle = new StringBuilder(); for(int i=0; i