南开大学 / 手机应用软件设计与实现
正确率:100%
在Activity中需要找到一个id是bookName的TextView组件,下面哪种语句写法是正确的?()
A.TextView tv=this.findViewById(R.iD.bookName)
B.TextView tv=(TextView)this.findViewById(R.iD.code)
C.TextView tv=(TextView)this.findViewById(R.iD.bookName)
D.TextView tv=(TextView)this.findViewById(R.string.bookName)
参考答案:
佳题速递: