visit operation to the abstract Visitor class, and
visit operation to the abstract Visitor class, and you must add an implementation for that class to each concrete Visitor you have written. Visitors can be powerful additions when the program reaches the point where many new classes are unlikely. Visitors can be used very effectively in Composite systems and the boss-employee system we just illustrated could well be a Composite like the one we used in the Composite chapter.
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Cheap Web Hosting services