There are two type of statements on internet about Interface, that is
Statement A
Interfaces do not come in inheriting chain.
other statement B
These two are contradicting statements.
Please tell me which one is right?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are both true, sort of.
Statement A: Interfaces don’t strictly inherit. If you have a class that implements an interface, and you say
You won’t see members of the interface.
Statement B: This would read better as “Interfaces can implement other interfaces”. You can have an implementation chain; but they’re not really inheriting.