• Tutorials
  • Courses
  • Tracks

Question 3

Last Updated :
Discuss
Comments

Which Spring Boot annotation is used to mark a class as a REST controller?

@Controller

@RestController

@Service

@Repository

Share your thoughts in the comments