Both abstract and interface classes are able to have constructors inside them. code example
Example: Can you add a constructor to an abstract class
We can create constructor in abstract class , it does’nt give any compilation
error.
We can create constructor in abstract class , it does’nt give any compilation
error.