单项选择题

下面程序的正确输出是( )。 public class Hello { public static void main(String args[]) { int count, xPos=25; for ( count=1; count<=10; count++ ) { if ( count==5 ) break; System.out.println(count ); xPos += 10; } } }

A.1 2 3 4
B.1 3 4
C.编译错误
D.以上都不是