jeudi 15 novembre 2018

What is the design pattern that Wrapper Classes using in Java?

I have found an old post on stackoverlflow which does not clarify my understanding about the design pattern that are being used by Wrapper Classes.

What is a wrapper class? -- Link belongs to older post.

Does Wrapper Classes really use any design pattern or not ?

If it is using any pattern then pattern it is out of these Decorator Pattern, Facade Pattern or Adapter Pattern.

More over on reading from Wikipedia I am not getting any clear information.

If answer to my question is already available on some post then please provide the link so I can have a look.

Aucun commentaire:

Enregistrer un commentaire