I am T.Y.B.Sc.IT student. I recently started learning java language. Yesterday our sir has given us assignment in which there is a program like write java program to print pyramid of stars. I used lot of various method but I didn't get the solution. If you have any idea about it please share with me.