Skip to content

Why u used interface in your project?

anjali khan

Asked Feb 28, 2016, 9:09 PM EST1 answer
Share
LinkedInX
hi Frnds
 
i know what is abstract class and interface..
 
i want to know that when we use abstract class and interface??
 
interviewer asked me where u used interface in your project? i gave the ans
 
but he asked me u can also use abstract class so why u used interface???

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Interface is such type of Contract.And we who will implement it need to implement the function. we can also implement more then one interface in a class.
    0