Solved

Choose the Option That Completes the Following Code So That

Question 26

Multiple Choice

Choose the option that completes the following code so that the text is displayed in a TextView object named displayText .
String sports = "Football";
String fall = sports + " season begins in the Fall.";
---- code goes here ----


A) displayText.getText(sports+fall) ;
B) displayText = fall.getText() ;
C) setText(fall) .displayText;
D) displayText.setText(fall) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions