use*_*811 3 java android
我是Java的初学者,遇到过这行代码:
Button orderButton = (Button)findViewById(R.id.order);
什么是(Button)当它是括号里面是什么意思?
(Button)
把它放在里面的术语是什么?
Col*_*son 6
这是一个类型演员.您将结果转换为typeof(Button)
归档时间:
14 年,1 月 前
查看次数:
317 次
最近记录:
13 年,12 月 前