![](https://static.youtibao.com/asksite/comm/pc/images/content_title_q.png)
已知;1String input=JoptionPane.showInputDialog("Whats your name?");2int age=Integer.parseI
已知;1 String input=JoptionPane.showInputDialog ("Whats your name?");2 int age=Integer.parseIntln(input);語句2所起的作用是 ()
A.將字符串轉(zhuǎn)化為整數(shù)
B.將整數(shù)轉(zhuǎn)化為字符串
C.對字符串進行語法分析
D.對整數(shù)進行語法分析
![](https://static.youtibao.com/asksite/comm/pc/images/content_title_a.png)