Confiz interview question

Write code to implement findViewById?