题目:应用程序的main方法中有以下语句,则输出的结果是。strings1=quot;0.5quot;,s2=quot;12quot;;doublex=double.parsedouble(s1);inty=integer.parseint(s2);system.out.println(x+y);
A. 12.5
B. 120.5
C. 12
D. “12.5”
答案:评论后可见此内容
推荐使用我们的公众号搜索题目,题目更全,检索更方便。支持语音、图片、文字等多种搜索方式。