已知:1Stringinput=JoptionPane.showlnputDialog("Whatsyourname?");2Intage=Integer.parseIntln(input);语句2所起的作用是()。
【正确答案】 A
【答案解析】