Q. Which Angular feature allows sharing data between unrelated components?

  • (A) Services with Observables
  • (B) Input and Output decorators
  • (C) Component inheritance
  • (D) Directives
πŸ’¬ Discuss
βœ… Correct Answer: (A) Services with Observables
Explanation: Services with Subjects or BehaviorSubjects allow data sharing across components.
Explanation by: Mr. Dubey
Services with Subjects or BehaviorSubjects allow data sharing across components.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate