Why we didnot write constructors in interfaces
interface is like a pure abstract class, though it is not a class at all. An interface is simply a contract that a class agrees to support. It cannot be instantiated. Therefore it does not write constructors in interfaces.
For more information on Interfaces, visit the following link:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.