Direction: Choose the correct option
Q1.
What is state in React?
Direction: Choose the correct option
Q2.
How do you update state in a class component?
Direction: Choose the correct option
Q3.
In a functional component, which hook is used to add state?
Direction: Choose the correct option
Q4.
What happens when state changes?
Direction: Choose the correct option
Q5.
Can state be accessed directly in a class component?
