GirnarSoft Interview Question

Write the code to represent a triangle of *'s in Java?