Triangle.java



public class Triangle {

    public static void main( String[] args ) {

        for( int x=1; x<=9; x++ ) {
            for( int y=1; y<=x; y++ ) {
                System.out.print( "*" );
            }
            System.out.println( "" );
        }
    }
}