What is the advantage of interface class?

DWQA QuestionsCategory: C SharpWhat is the advantage of interface class?
Editor Staff asked 2 months ago

What is the advantage of interface class?

1 Answers
Editor Staff answered 2 months ago

There are the following advantages of the interface.

  • It is used to achieve loose coupling.
  • It is used to achieve total abstraction.
  • To achieve component-based programming
  • To achieve multiple inheritance and abstraction.
  • Interfaces add a plug and play like architecture into applications.