mercredi 22 janvier 2020

What is difference between java proxy & plain java class?

Proxy is used to intercept OR to surrogate OR change existing functionality of target object without modifying it, but same thing we can achieve using normal java class by inheriting target class & overriding it's methods.
Then what is exact usage of it ? How it is different & efficient from normal java class ?





Aucun commentaire:

Enregistrer un commentaire