Skip to content

Conversation

@DressCodeBoy
Copy link

No description provided.

@DressCodeBoy DressCodeBoy changed the title Уточка Уточка Мороховцев Jun 19, 2020

namespace App
{
public abstract class abstractDuck : IFly, IQuack // от абстрактного класса нельзя сделать экземпляр
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Интерфейсы теряют смысл - а если я хочу в процессе создать утку - которая не летает? как это сделать?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jskonst в интерфейсе придется прописывать возможность

Copy link
Author

@DressCodeBoy DressCodeBoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants