Which of the following is correct in order to get a reference to the TextView having an id of "water"

Question:Which of the following is correct in order to get a reference to the TextView having an id of "water"

1.findViewById(R.id.water)

2.findViewId(R.id.water)

3.findViewById('water')

4.findByViewId(R.id.water)


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!