What happens when a constructor is defined for an interface?

Giang Phạm

New member
What happens when a constructor is defined for an interface?
A. Compilation failure
B. Runtime Exception
C. The interface compiles successfully
D. The implementing class will throw exception
 

Tìm kiếm

Back
Top