0 votes
in JAVA by
When do you use Visitor design pattern?

1 Answer

0 votes
by

The visitor pattern is a solution of problem where you need to add operation on a class hierarchy but without touching them. This pattern uses double dispatch to add another level of indirection.

...