← Quiz: Spring AOP and Proxies: all 10 questions
Quiz: Spring AOP and Proxies · Question 2 of 10
In AOP, what is a pointcut?
In AOP, what is a pointcut?
- A.The code that runs before a method
- B.The object being wrapped
- C.An expression that selects which methods the advice applies to
- D.An exception thrown by an aspect
Answer & explanation
Correct answer: An expression that selects which methods the advice applies to
The advice is the code; the pointcut says where it applies.
Can you get the rest right without peeking?
Take the timed Quiz: Spring AOP and Proxies quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →