OLR interview question

What is methods used in react?