Around advice must return Object and accept ProceedingJoinPoint to proceed with method execution.
Step 2: Match signature with options
Only public Object monitor(ProceedingJoinPoint pjp) throws Throwable matches return type Object and parameter ProceedingJoinPoint with throws Throwable.
Final Answer:
public Object monitor(ProceedingJoinPoint pjp) throws Throwable -> Option A
Quick Check:
Around advice signature = Object return + ProceedingJoinPoint param [OK]
Quick Trick:Around advice returns Object and uses ProceedingJoinPoint [OK]
Common Mistakes:
Using void return type for Around advice
Using JoinPoint instead of ProceedingJoinPoint
Omitting throws Throwable declaration
Master "Aspect-Oriented Programming" in Spring Boot
9 interactive learning modes - each teaches the same concept differently