问答题
阅读下面的程序,并回答问题(①问3分,②问3分,共6分)。 import java.io.*; public class Test public static void main(String args[]) throws IOException BufferedReader buf=new BufferedReader( new InputStreamReader(System.in)); while(true) String str = buf.readLine(); if(str.equals("quit")) break; int x=Integer.parseInt(str); System.out.println(x*x);