jeudi 31 décembre 2020

Does Bridge design pattern have only one abstract and interface Class in Java?

I am really difficult to think about abstract and interface Class in Java?

Here an example : We have 2 users which have the same and different action in School system Teacher : can add exercise and view the exercise Student : can view and submit exercise We have 2 different of user, different action and the same action. So how can we make it to one abstract class and interface?

Aucun commentaire:

Enregistrer un commentaire