🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.@Before
  2. B.@After
  3. C.@AfterReturning
  4. 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 →