ExamGecko
Question list
Search
Search

Question 33 - 2V0-72.22 discussion

Report
Export

Which two statements about pointcut expressions are true? (Choose two.)

A.
A pointcut expression cannot specify the type of parameters.
Answers
A.
A pointcut expression cannot specify the type of parameters.
B.
A pointcut expression will throw an exception if no methods are matched.
Answers
B.
A pointcut expression will throw an exception if no methods are matched.
C.
A pointcut expression cannot have a wildcard for a method name.
Answers
C.
A pointcut expression cannot have a wildcard for a method name.
D.
A pointcut expression can include operators such as the following: && (and), || (or), ! (not).
Answers
D.
A pointcut expression can include operators such as the following: && (and), || (or), ! (not).
E.
A pointcut expression can be used to select join points which have been annotated with a specific annotation.
Answers
E.
A pointcut expression can be used to select join points which have been annotated with a specific annotation.
Suggested answer: D, E

Explanation:

Reference: https://www.baeldung.com/spring-aop-pointcut-tutorial

asked 16/09/2024
Patrick Cheung
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first