πŸ“Š Angular
Q. Which decorator is used to define input properties in Angular?
  • (A) @ViewChild
  • (B) @Input
  • (C) @Output
  • (D) @Injectable
πŸ’¬ Discuss
βœ… Correct Answer: (B) @Input

Explanation: @Input is used to pass data from parent to child components.

Explanation by: Mr. Dubey
@Input is used to pass data from parent to child components.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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