When would you use an interface instead of an abstract class?

Oliver Evans | 2023-06-09 06:34:26 | page views:1820
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Felix Turner

Works at SmartGrid Technology, Lives in Munich, Germany.
If you are designing large functional units, use an abstract class. If you want to provide common, implemented functionality among all implementations of your component, use an abstract class. Abstract classes allow you to partially implement your class, whereas interfaces contain no implementation for any members.Jan 26, 2009
2023-06-12 06:34:26

Ethan Davis

QuesHub.com delivers expert answers and knowledge to you.
If you are designing large functional units, use an abstract class. If you want to provide common, implemented functionality among all implementations of your component, use an abstract class. Abstract classes allow you to partially implement your class, whereas interfaces contain no implementation for any members.Jan 26, 2009
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4