0 votes
in Spring by

Which annotation can be used to define an aspect in Spring AOP?

a) @AspectDef

b) @AspectJ

c) @PointcutDef

d) @Aspect

1 Answer

0 votes
by
d) @Aspect

Explanation:

The @Aspect annotation is used in Spring AOP to define a class as an aspect.
...