How do I make a recursive asterisk pattern in java, only using recursion? No loops.?

pattern 1
.

pattern 2
.
..
.

pattern 3
.
..
...
..
.
Update: public void makePattern(int n){
??
}


pattern 1
.

pattern 2
.
..
.

pattern 3
.
..
...
..
.
3 answers 3