+ 1
Why interfaces dont have constructor ??
Why interfaces dont have constructor ??
4 ответов
+ 2
@Divyaraj constructors are only used to initialise variables ???
+ 2
@divyaraj thanks bro !! but I'm searching for an exact answer ??
+ 1
The data member of the interface are already initialized .Constructors of the special defined methods which are not permitted to defined and moreover interface data member are static.
0
mainly yes but it is good for memory management.. which isn't possible with functions