How do you create the following output using loops:

1
12
123
1234
12345
123456

Sorry and thanks! I'm a beginner in Java and would like to seek the help of experts...