LLD - Behavioral Design Patterns — Part 2
Which of the following is the correct method signature for a visitor interface method visiting an element called
ElementA?ElementA?visit with the element type as parameter.void visit(ElementA element); to visit ElementA.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions