题海让大学四年没有难题
白天模式登陆

题目详情

单选题 以下使用 test() 方法的代码,哪一个是正确的? public int test(int num,String str){ return num+ Integer.parseInt(str); }

A. test( )

B. test( 1 , "2" )

C. test( "1" , 2 )

D. test(1)

编程基础课程封面

学科:编程基础

时间:2023-10-22 13:12:51

Copyright © 2022 津ICP备2021001502号