best answer > Can you define a constructor in an interface 2024?- QuesHub | Better Than Quora
The most authoritative answer in 2024
  • Oliver Wilson——Works at the International Organization for Standardization, Lives in Geneva, Switzerland.

    There is only static fields in interface that dosen't need to initialized during object creation in subclass and the method of interface has to provide actual implementation in subclass .So there is no need of constructor in interface. ... That's why we can not define constructor in the interfaces.May 10, 2010read more >>
    +119962023-06-09 06:42:34

About “interface、interface、constructor”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消