请在 下方输入 要搜索的题目:

在Android 中需要找一个id为label的TextView组件,下列哪个语句是正确的()


A、TextViewtv=this.findViewById(R.id.label);;
B、TextViewtv=(TextView)findViewById(R.id.label);;
C、TextViewtv=(TextView)findViewById(R.layout.label);;
D、TextViewtv=(TextView)findViewById(R.string.label);

发布时间:2025-08-21 07:38:35
推荐参考答案 ( 由 题搜搜 官方老师解答 )
答案:TextView tv=(TextView)findViewById(R.id.label);
登录 - 搜搜题库网
立即注册
注册 - 搜搜题库网
立即登录