when to use Interface and when to use abstract class?
please suggest
when to use Interface and when to use abstract class?
please suggest
A few seconds with any Internet search will get you any number of articles on that subject you want.
...and here's an Internet search if you don't want to type it yourself.
Use abstract class if you want to create new inherited classes. Interfaces are suitable to add abstract methods to existing class hierarchy.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.