dimanche 10 janvier 2016

java / android studio: how to modularize duplicate function in two different classes

I have two classes that each do different things but happen to require the same function. What's a design pattern that I can use to avoid simply duplicating the same function across both classes?

Aucun commentaire:

Enregistrer un commentaire