DEFINE PROXY

Jayne Spooner

Total Post:3

Points:15
Posted by  Jayne Spooner
 552  View(s)
Ratings:
Rate this:
  1. Jayne Spooner

    Post:3

    Points:15
    Define Proxy

    As long as there aren’t any extra instance variables, any subclass can proxy itself as its superclass with a single call. Each class that inherits from the superclass, no matter where it comes from, will now inherit from the proxied subclass. Calling a method in the superclass will actually call the method in the subclass. For libraries where many objects inherit from a base class, proxying the superclass can be all that is needed.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!