java打印的三角形为什么数字不靠在一起

我写的代码:
public static void Triangle(int n){
for(int i=1;i<=n;i++){
for(int j=1;j<=i;j++){
System.out.println(j);
}
System.out.println();
}
}
public static void main(String[] args) {
TriangleStu t=new TriangleStu();
t.Triangle(5);
}
但是出来的结果而是
1
1
2
1
2
3
1
2
3
4
1
2
3
4
5
为什么是这样的而不是
1
12
123
1234
12345


for(int i=1;i<=5;i++){
              for(int j=1;j<=i;j++){
                System.out.print(j);
            }
            System.out.println();
        }

不换行使用:System.out.print()
换行使用:System.out.println()