nerdexam
Adobe

AD0-E128 · Question #107

Which annotation is used in a Sling Model to adapt from a Resource?

The correct answer is A. @Model(adaptables = Resource.class). See the full explanation below for the reasoning.

Develop AEM Sites Components

Question

Which annotation is used in a Sling Model to adapt from a Resource?

Options

  • A@Model(adaptables = Resource.class)
  • B@InjectResource
  • C@Adaptable(Resource)
  • D@SlingAdaptable

How the community answered

(18 responses)
  • A
    78% (14)
  • B
    6% (1)
  • C
    11% (2)
  • D
    6% (1)

Topics

#Sling Models#@Model annotation#adaptables#Resource.class

Community Discussion

No community discussion yet for this question.

Full AD0-E128 Practice