Computer scienceFundamentalsEssentialsSoftware constructionIntroduction to Design Principles and SOLID

Interface Segregation Principle

Many responsibilities

Report a typo

We are working on a new video game and particularly on the interface SPORTSMAN. Now we aggregate five methods in it, but it seems that we need to move some of them to new interfaces HUMAN and PUBLIC_FIGURE.

Choose which methods each interface should contain.

Choose one option for each row
HUMANSPORTSMANPUBLIC_FIGURE
WALK
PLAY_BALL
ADVERTISE_SHOES
TRAIN
DRINK
___

Create a free account to access the full topic