Adobe
AD0-E128 · Question #66
Which method is used to define a custom Sling Model in AEM?
The correct answer is B. @Model(adaptables = Resource.class). See the full explanation below for the reasoning.
Question
Which method is used to define a custom Sling Model in AEM?
Options
- A@SlingServlet
- B@Model(adaptables = Resource.class)
- C@OSGiService
- D@Component(adaptable = AEM.class)
How the community answered
(24 responses)- A4% (1)
- B75% (18)
- C13% (3)
- D8% (2)
Community Discussion
No community discussion yet for this question.