OLR Interview Question

What is methods used in react?