πŸ“Š Angular
Q. Which decorator is used to mark a class as an injectable service?
  • (A) @Injectable
  • (B) @Service
  • (C) @Component
  • (D) @Directive
πŸ’¬ Discuss
βœ… Correct Answer: (A) @Injectable

Explanation: @Injectable allows Angular's dependency injection system to provide the service.

Explanation by: Mr. Dubey
@Injectable allows Angular's dependency injection system to provide the service.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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