Direction: Choose the correct option
Q1.
What is an advice in Spring AOP?
Direction: Choose the correct option
Q2.
How many types of advice are there in Spring AOP?
Direction: Choose the correct option
Q3.
Which advice runs before the method execution?
Direction: Choose the correct option
Q4.
Which advice runs after the method execution regardless of outcome?
Direction: Choose the correct option
Q5.
Which advice runs only if the method returns successfully?
Direction: Choose the correct option
Q6.
Which advice runs if the method throws an exception?
Direction: Choose the correct option
Q7.
Which is the most powerful advice that can control method execution?
Direction: Choose the correct option
Q8.
What parameter can an advice method take?
Direction: Choose the correct option
Q9.
What is the purpose of the returning attribute in @AfterReturning?
Direction: Choose the correct option
Q10.
What is the purpose of the throwing attribute in @AfterThrowing?
