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

题目详情

单选题 以下空白处应填写的代码应该是( ). class UserInfo {String userName; int userNumber; public UserInfo(String userName) {this.userName=userName;} public UserInfo(String userName,int userNumber) {____________________________________________; this.userNumber=userNumber; } }

A. UserInfo(user Name, user Number)

B. this(user Name, user Number)

C. UserInfo(userName)

D. this(userName)

Java面向对象编程技术课程封面

学科:Java面向对象编程技术

时间:2024-10-09 12:32:32

Copyright © 2022 津ICP备2021001502号