ExamGecko
Question list
Search
Search

Related questions











Question 134 - H14-231_V1.0 discussion

Report
Export

When the developer jumps to a new page through the button button, the following code is created. If you don't add '' Button button = (Button) findComponentByld(ResourceTable.ld_button) ;' What happens to this line of code?

Public void onStart(Intent intent){

super.onStart(intent);

super.setUlContent

(ResourceTable.Layout_ability_main);

Button button =

(Button)findComponentByld(ResourceTable.ld_button);

button.setClickedListener(listener -> present(new

SecondAbilitySlice(),new Intent()));

}

A.
When you click the button again, the ability crashes
Answers
A.
When you click the button again, the ability crashes
B.
button button does not show up on the layout
Answers
B.
button button does not show up on the layout
C.
Clicking the button does not respond
Answers
C.
Clicking the button does not respond
D.
Click the button button to jump to a new page
Answers
D.
Click the button button to jump to a new page
Suggested answer: B
asked 18/09/2024
57 Milecross Lane Jodie
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first