Q. Which method is used to change the state in a React class component?
β
Correct Answer: (C)
this.setState()
Explanation: this.setState() is used to update the state in class components.