Prashanth J

Prashanth J

  • NA
  • 193
  • 172.2k

what is the use of Interfaces?

Jan 31 2018 11:03 PM
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.

Answers (5)