Question: You have created a new method in a class component called handleClick, but it is not working. Which code is missing?
- `this.handleClick.bind(this);`
- `props.bind(handleClick);`
- `this.handleClick.bind();`
- `this.handleClick = this.handleClick.bind(this);`
Answer: The correct answer of the above question is Option D:`this.handleClick = this.handleClick.bind(this);`