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.

Related questions

+1 vote
asked Jan 27, 2020 in JAVA by rahuljain1
+1 vote
asked Jul 27, 2021 in JAVA by SakshiSharma
...