πŸ“Š Angular
Q. Which decorator is used to pass data from a parent component to a child component?
  • (A) @Output
  • (B) @Input
  • (C) @Injectable
  • (D) @Component
πŸ’¬ Discuss
βœ… Correct Answer: (B) @Input

Explanation: @Input decorator is used to receive data from a parent component.

Explanation by: Mr. Dubey
@Input decorator is used to receive data from a parent component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
43
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate