← Quiz: Spring AOP and Proxies: all 10 questions
Quiz: Spring AOP and Proxies · Question 8 of 10
Which advice type can decide not to call the real method at all?
Which advice type can decide not to call the real method at all?
- A.@Before
- B.@After
- C.@AfterReturning
- D.@Around
Answer & explanation
Correct answer: @Around
@Around controls whether and when proceed() is called.
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 →