200+ câu trắc nghiệm Lập trình cho di động có đáp án - Phần 1

Which is the correct line of code to get the ID of the EditText you intend to use?

23/40

Which is the correct line of code to get the ID of the EditText you intend to use?

EditText TextHandler = (EditText)findViewById(R.id.nameTextField);

EditText = (EditText)findViewById(R.id.nameTextField);

EditText TextHandler = findViewById(R.id.nameTextField);

EditText TextHandler = (EditText)findViewById(nameTextField);

Giải thích

Chọn đáp án D