S

Satya • 3.38K Points
Extraordinary

Q. Which annotation marks a class as a service layer component?

  • (A) @Repository
  • (B) @Component
  • (C) @Service
  • (D) @ControllerAdvice
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category Springboot
  • Hashtags:

Explanation by: Satya
@Service indicates that the class holds business logic.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.