Birlasoft Interview Question

React component life cycle methods