Submitted Questions

  • Multiple Interface

    Why do we need interface concept instead of multiple inheritance? What is the drawback when we use the multiple inheritance?

    sampra

    • Mar 7th, 2012

    Java doesnt support multiple inheritance still if we want to inheritate the one method in more than one class we can define it abstract in interface and we can use it in our class by simply implementing that interface. In this we make our class loosely coupled...

    Amol

    • Sep 29th, 2011

    But then need to implements all methods of interface.