Discussion Forum : Aspectj Support And Scripting
Question - Is the following pointcut expression correct?execution(* ArithmeticCalculator.*(..))
Options:
A .  Yes
B .  No
C .  If every target class is in same package
D .  Depends where target class is located
Answer: Option C


You can omit the package name if the target class or interface is located in the same package as this aspect.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *