I have few questions which are related to interfaces and abstract classes.If you know answer please specify the reasons too so that i can understand.
1).Can interface have objects?
2).Can interface have constructors?
3).Can interface have data members?
4).What is the access modifiers of interface? Can we change it?
5).Can interface do multilevel or multiple inheritance?
6).Can interface have function definition also?
7).If a class have even one abstract method does the class also have to be abstract?
8).If a class is abstract , will it necessarily to have one abstract method?
I tried to find answers of these questions from google but i m not getting proper reasons behind it and not able to get correct answers of these questions. I m expecting that some senior developer help me out in this questions to get my concepts crystal clear.
Aditya Jain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.