Which statement correctly changes content of a TextView named textLabel to show "Your Text"?

Question:Which statement correctly changes content of a TextView named textLabel to show "Your Text"?

1.textLabel.setText("Your Text");

2.textLabel = "Your Text";

3.textLabel.text = "Your Text";

4. textLabel.text("Your Text");


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!