Skip to main content

All Questions

2 votes
4 answers
2k views

Why is an interface in Java called an "interface"?

I am not sure why an interface in Java is called an "interface", but I think it can be one of the following two reasons (or both): Reason one: This tutorial says the following: Methods form ...
Tom's user avatar
  • 709
37 votes
3 answers
23k views

If I implement an Interface, is it called an Inheritance?

If my class implements an interface then can I say that I'm following inheritance? I know that when a class extends another class then it's inheritance.
Rajeev's user avatar
  • 555