[SalesForce] Can interface have inner classes or interfaces

Can interface have inner classes or interfaces?
Looks like it is not possible and the answer is no, however it is not mentioned anywhere in the documentation
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_interfaces.htm

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_access_modifiers.htm

Can anyone explain why it is not mentioned in documentation and why this is not possible in Salesforce Apex?

Best Answer

Interfaces in Apex is same like Interfaces in Java. I just googled and found this question in stackoverflow.

The excerpt which i like to point is

interface is meant to declare just to provide interface not for implementation