As we know in the interfaces we can declare the methods (No implimentation) for future needs.whenever we need we have to impliment that method by inherting that class.
But my doubt is why do we have to use interface concept.When ever we want a specific method we can declare according to that need with out using the inheritance concept.

Ramesh PalanivelRank #372 · 6.8K reputationPosted Jan 31, 2018, 7:04 PM EST
Altaf AnsariRank #1,045 · 1.8K reputationPosted Jan 31, 2018, 6:24 PM EST
Nanddeep NachanRank #38 · 35.2K reputationPosted Jan 31, 2018, 6:40 PM EST
Bharathi RajaRank #1,778 · 842 reputationPosted Jan 31, 2018, 8:53 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 31, 2018, 10:32 PM EST