Direction: Choose the correct option
Q1.
How can multiple components share data using a service?
Direction: Choose the correct option
Q2.
How do you make a service observable for data changes?
Direction: Choose the correct option
Q3.
What is the difference between Subject and BehaviorSubject?
Direction: Choose the correct option
Q4.
How does a component subscribe to a service's observable?
Direction: Choose the correct option
Q5.
What should you do with subscriptions in a component?
Direction: Choose the correct option
Q6.
What is a ReplaySubject?
Direction: Choose the correct option
Q7.
How do you expose an observable from a service without allowing emits?
Direction: Choose the correct option
Q8.
What is the purpose of a service in state management?
Direction: Choose the correct option
Q9.
Can a service have multiple instances?
Direction: Choose the correct option
Q10.
What is the best practice for unsubscribing?
