What would be the result if a class extends two interfaces and both have a method with same name and signature? Lets assume that the class

Đức Lưu

New member
What would be the result if a class extends two interfaces and both have a method with same name and signature? Lets assume that the class is not implementing that method.
A. Runtime error
B. Compile time error
C. Code runs successfully
D. First called method is executed successfully
 

Tìm kiếm

Back
Top