Star pattern programs in Java

In this article, you will learn different types of star pattern programs in Java.

1 . Print below pattern using java.

*
* *
* * *
* * * *
* * * * *

Code:

2. Print below pattern.

* * * * *
* * * *
* * *
* *
*

Code:

3. Print below number pattern in Java.

1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

Code:

4. Print below number pattern in Java.

1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

Code:

5. Print below character pattern in java.

A A A A A
B B B B B
C C C C C
D D D D D
E E E E E

Code:

6. Print below character pattern in java.

E E E E E
D D D D D
C C C C C
B B B B B
A A A A A

Code: