输出结果想要一行一行的输出怎么弄?

package edu.learn;
public class Heart {
public static void main(String[] args) {
// TODO Auto-generated method stub
for(float y = (float) 1.5;y>-1.5;y -=0.15) {
for(float x= (float) -1.5;x<1.5;x+= 0.05){
float a = xx+yy-1;
if((aaa-xxyyy)<=0.0) {
System.out.print("*");
}
else
System.out.print(" ");
}
System.out.println();
}
}
}

System.out.println();

使用System.out.println(" ");即可