+ 12
Can we use constructor in interface ?
2 Antworten
+ 20
Generally constructors r for initializing non-static members of particular class with respect to object.......There is no object creation for interface as there is only declared methods but not defined methods......... so object creation is not possible for interface.........
That's why we can not define constructor in the interfaces......