![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
编译和运行下面的应用程序,并在命令行界面输入12345,则回车后屏幕输出的结果是( )。 public class A { public static void main(String args[]) throws IOException{ BufferedReader buf=new BufferedReader( new InputStreamReader(System.in)); String str=buf.readLine(); int x=Integer.parseInt(str); System.out.println(x%1000); } }