White a recursive method in java to produce pattern of 2*n lines of asterisks. T
ID: 3940157 • Letter: W
Question
White a recursive method in java to produce pattern of 2*n lines of asterisks. The first line contains 1 asterisk, the next two, the next 3, and so on up to the nth line which contains n asterisks. Line n+1 also contains asterisks, the next has n-1, the next has n-2, and so on until line 2n which contains 1 asterisk.