Похожие чаты

Software design question, I have 2 classes that have some function

that does the exact same thing,
how can write 1 function that both can call?
I thought about creating another class with a static method but that seems overkill...

1 ответов

11 просмотров

that is usually the way to go, especially if there will be a third class that will use it

Похожие вопросы

Обсуждают сегодня

Карта сайта