补充setData()方法的代码,把参数data的值赋给实例变量data? public class Sample{ int data; public void setData(int data){ //把参数data的值赋值给实例变量data ...... } }
A.
Sample.data=data;
B.
new Sample().data=data;
C.
this.data=data;
D.
int data=data;
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】Complete the following sentence with the words and phrases given in the box. (TEXT I requisite /comprise /chill out / come to mind / look the part TEXT II permeate /wrestle / push the envelope/ run th...
【简答题】Complete the following sentences with by, for, of , on, to or with. 1 Shares in corporations are usually sold ______ the Stock Exchange. 2 One advantage _______ working for TBF is the career structure...